| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectProperty | activeModule
Currently active module. |
| private final ObjectProperty | |
| private final IntegerProperty | |
| private static final int | |
| private static final int | ANIMATION_DURATION_DRAWER_OPEN
Duration of animations according to material design guidelines. |
| private final ObservableList | |
| private static final int | |
| private static final NavigationDrawer | |
| private static final Callback | |
| private static final Callback | |
| private static final Callback | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private static final Logger | |
| private static final int | |
| private final Map | moduleCloseableMap
Will close the module without calling |
| private final ListProperty | modules
List of all modules. |
| private final IntegerProperty | |
| private final ObjectProperty | |
| private final ObservableList | |
| private final ObservableList | |
| private final ListProperty | openModules
List of all currently open modules. |
| private final ObservableMap | overlays
Map containing all overlays which have been loaded into the scene graph, with their
corresponding model object |
| private final ObjectProperty | |
| private final ObjectProperty | tabFactory
The factories which are called when creating Tabs, Tiles and Pages of Tiles for the Views. |
| private final ObjectProperty | |
| private final ObservableList | |
| private final ObservableList |
| Access | Constructor and Description |
|---|---|
| public | |
| private | Workbench(Workbench.
to use for the setup builderConstructor for WorkbenchFX by using the |
| Modifier and Type | Method and Description |
|---|---|
| public final ReadOnlyObjectProperty | |
| public final ReadOnlyObjectProperty | |
| private void | addInitialAnimationHandler(WorkbenchOverlay
for which to prepare the initial animation handler for workbenchOverlay, Side from which the sliding animation should originate side)Handles the initial animation of an overlay. |
| public final ReadOnlyIntegerProperty | |
| private void | |
| private void | |
| public static Workbench. | Returns: builder objectwhich should be loaded for the application modules)Creates a builder for |
| private int | Returns: amount of pagesCalculates the amount of pages of modules (rendered as tiles). |
| public final void | clearOverlays()
Removes all previously loaded overlays from the scene graph including all references to them, in order to free up memory. |
| public final boolean | Returns: true if closing was successfulto be closed module)Closes the |
| public final void | completeModuleCloseable(WorkbenchModule
whose module)moduleCloseable should be completedCompletes the |
| protected final Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ReadOnlyObjectProperty | |
| public final ReadOnlyObjectProperty | |
| public final WorkbenchModule | |
| public final Node | |
| public final int | |
| public final ObservableList | |
| public final Region | |
| public final Side | |
| private CompletableFuture | getModuleCloseable(WorkbenchModule module)
Returns a |
| public final ObservableList | |
| public final int | |
| public final NavigationDrawer | |
| public final ObservableList | |
| public final ObservableList | |
| public final ObservableList | Returns: an unmodifiableObservableList of the currently open modules.Returns an unmodifiableObservableList of the currently open modules. |
| public final ObservableMap | Returns: a map of all overlays, which have previously been opened, with their corresponding model objectWorkbenchOverlay.Returns a map of all overlays, which have previously been opened, with their corresponding
model object |
| public final Callback | |
| public final Callback | |
| public final Callback | |
| public final ObservableList | Returns: a list of the currently loaded toolbar controls on the left.Returns a list of the currently loaded toolbar controls on the left. |
| public final ObservableList | Returns: a list of the currently loaded toolbar controls on the right.Returns a list of the currently loaded toolbar controls on the right. |
| public final String | getUserAgentStylesheet()
Overrides javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. |
| public final void | hideDialog(WorkbenchDialog
to be hidden dialog)Hides the |
| public final void | hideDrawer()
Hides the currently displayed drawer that was previously shown using
|
| public final void | |
| public final boolean | Returns: true if the overlay was showing and is now hiddento be hidden overlay)Hides the |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public final boolean | |
| public final IntegerProperty | |
| private ListProperty | |
| public final ObjectProperty | |
| public final void | |
| public final void | openModule(WorkbenchModule
the module to be opened or null to go to the home view module)Opens the |
| private ListProperty | |
| public final ObjectProperty | |
| private void | |
| private void | |
| private void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| pack-priv void | |
| public final WorkbenchDialog | Returns: theWorkbenchDialog, which will be shownof the dialog title, String of the dialog message, Consumer<ButtonType> the action to perform when a button of the dialog was pressed, providing the
onResult)ButtonType that was pressedShows a confirmation dialog in the view. |
| public final WorkbenchDialog | Returns: theWorkbenchDialog, which will be shownto be shown dialog)Shows a |
| public final void | showDrawer(Region
to be shown drawer, Side of the workbench, on which the side)drawer should be positionedShows the |
| public final void | showDrawer(Region
to be shown drawer, Side of the workbench, on which the side, int drawer should be positionedvalue between 0 and 100, defining how much maximum coverage the drawer
should have or -1, to have the drawer size according to its computed size percentage)Shows the |
| public final WorkbenchDialog | Returns: theWorkbenchDialog, which will be shownof the dialog title, String of the dialog message, Consumer<ButtonType> the action to perform when a button of the dialog was pressed, providing the
onResult)ButtonType that was pressedShows an error dialog in the view. |
| public final WorkbenchDialog | Returns: theWorkbenchDialog, which will be shownof the dialog title, String of the dialog message, Exception of which the stacktrace should be shown exception, Consumer<ButtonType> the action to perform when a button of the dialog was pressed, providing the
onResult)ButtonType that was pressedShows an error dialog in the view with a stacktrace of the |
| public final WorkbenchDialog | Returns: theWorkbenchDialog, which will be shownof the dialog title, String of the dialog message, String about the error details, Consumer<ButtonType> the action to perform when a button of the dialog was pressed, providing the
onResult)ButtonType that was pressedShows an error dialog in the view with |
| public final WorkbenchDialog | Returns: theWorkbenchDialog, which will be shownof the dialog title, String of the dialog message, Consumer<ButtonType> the action to perform when a button of the dialog was pressed, providing the
onResult)ButtonType that was pressedShows an information dialog in the view. |
| public final void | |
| public final boolean | Returns: true if the overlay is not being shown alreadyto be shown overlay, boolean If false (non-blocking), clicking outside of the blocking)overlay will cause it
to get hidden, together with its GlassPane. If true (blocking),
clicking outside of the overlay will not do anything. The overlay itself must call Workbench#hideOverlay(Region) to hide it.Shows the |
| private boolean | Returns: true if the overlay is not being shown alreadyto be shown overlay, boolean If false (non-blocking), clicking outside of the blocking, Side overlay will cause it
to get hidden, together with its GlassPane. If true (blocking),
clicking outside of the overlay will not do anything. The overlay itself must call Workbench#hideOverlay(Region) to hide it.from which the side)overlay should be slid when the overlay is being shown or
hiddenShows the |
| public final WorkbenchDialog | Returns: theWorkbenchDialog, which will be shownof the dialog title, String of the dialog message, Consumer<ButtonType> the action to perform when a button of the dialog was pressed, providing the
onResult)ButtonType that was pressedShows a warning dialog in the view. |
| private TranslateTransition | |
| private TranslateTransition | |
| public final ObjectProperty | |
| public final ObjectProperty |