public interface Context
extends org.jacpfx.api.context.JacpContext<javafx.event.EventHandler<javafx.event.Event>,java.lang.Object>
| Modifier and Type | Method and Description |
|---|---|
AsyncHandler<?> |
asyncHandler()
The async handler allows to supply consumers, suppliers and function on worker thread and on FX thread
|
FXComponentLayout |
getComponentLayout()
Retruns the component layout
|
<T> ManagedFragmentHandler<T> |
getManagedFragmentHandler(java.lang.Class<T> clazz)
Returns a managed fragment handler, which contains part of an UI and can fully interact with CDI and it's parent component.
|
void |
hideModalDialog()
hides the current modal dialog
|
void |
showModalDialog(javafx.scene.Node node)
shows the passed Node as modal dialog
|
<T> ManagedFragmentHandler<T> getManagedFragmentHandler(java.lang.Class<T> clazz)
T - the type of the managed fragmentclazz - the class of the requested managed fragmentvoid showModalDialog(javafx.scene.Node node)
node - the Node to show in dialogvoid hideModalDialog()
FXComponentLayout getComponentLayout()
AsyncHandler<?> asyncHandler()