file: DialogFactoryService.aus

class: DialogFactoryService

[45:7] extends: EngineService

Wraps an AussomDialogFactoryService (subclass of FXGL's abstract DialogFactoryService). This is a subclass-extension contract: FXGL calls into the registered service when a dialog is requested, and each abstract method dispatches to the matching Aussom callback. When a callback is not supplied, the bridge returns null for that dialog, so callers should always wire the dialog methods their game uses. Each Aussom callback must return an AussomJavaObject around a javafx.scene.layout.Pane (the dialog body). Callbacks that receive a Runnable / Consumer / Predicate get those wrapped as raw AussomJavaObjects; invoke them via aji.invokeRaw on the appropriate method (run, accept, test). Method signatures (matching the abstract base): onMessageDialog(message) onMessageDialogCb(message, runnableAjo) onConfirmationDialog(message, consumerAjo) onChoiceDialogVarargs(message, consumerAjo, firstOptionAjo, optionsListOfAjo) onChoiceDialogList(message, optionsListOfAjo, consumerAjo) onInputDialog(message, consumerAjo) onInputDialogFiltered(message, predicateAjo, consumerAjo) onInputDialogWithCancel(message, predicateAjo, consumerAjo) onErrorDialogThrowable(throwableAjo) onErrorDialogThrowableCb(throwableAjo, runnableAjo) onErrorDialogMessage(errorMessage) onErrorDialogMessageCb(errorMessage, runnableAjo) onProgressDialog(message, observableDoublePropertyAjo, runnableAjo) onProgressDialogIndeterminate(message, runnableAjo) onCustomDialog(message, contentNodeAjo, runnableAjo, buttonsListOfAjo)

Methods