An overlay can be shown using:
Workbench#showOverlay(Region, boolean)
Workbench#showDialog(WorkbenchDialog)
Workbench#showDrawer(Region, Side)
| Modifier and Type | Field and Description |
|---|---|
| private final TranslateTransition | |
| private final TranslateTransition | |
| private final GlassPane | |
| private boolean | |
| private final ObjectProperty | |
| private final Region |
| Access | Constructor and Description |
|---|---|
| public | WorkbenchOverlay(Region
to be shown as the main content node overlay, GlassPane to be shown in the background of the overlay glassPane)Initializes a new non-animated overlay. |
| public | WorkbenchOverlay(Region
to be shown as the main content node overlay, GlassPane to be shown in the background of the overlay glassPane, TranslateTransition animation that should be played when the overlay is being shown animationStart, TranslateTransition animation that should be played when the overlay is being hidden animationEnd)Initializes a new animated overlay. |
| Modifier and Type | Method and Description |
|---|---|
| public final TranslateTransition | |
| public final TranslateTransition | |
| public final GlassPane | |
| public final EventHandler | |
| public final Region | |
| private void | |
| public final boolean | Returns: whether or not this overlay is animated.Returns whether or not this overlay is animated. |
| public final boolean | |
| public final ObjectProperty | onInitializedProperty()
Enables to define actions that should be performed when an overlay is initialized. |
| private void | |
| public final void | |
| private void |
| animationEnd | back to summary |
|---|---|
| private final TranslateTransition animationEnd | |
| animationStart | back to summary |
|---|---|
| private final TranslateTransition animationStart | |
| glassPane | back to summary |
|---|---|
| private final GlassPane glassPane | |
| initialized | back to summary |
|---|---|
| private boolean initialized | |
| onInitialized | back to summary |
|---|---|
| private final ObjectProperty<EventHandler<Event>> onInitialized | |
| overlay | back to summary |
|---|---|
| private final Region overlay | |
| WorkbenchOverlay | back to summary |
|---|---|
| public WorkbenchOverlay(Region overlay, GlassPane glassPane) Initializes a new non-animated overlay. | |
| WorkbenchOverlay | back to summary |
|---|---|
| public WorkbenchOverlay(Region overlay, GlassPane glassPane, TranslateTransition animationStart, TranslateTransition animationEnd) Initializes a new animated overlay.
| |
| getAnimationEnd | back to summary |
|---|---|
| public final TranslateTransition getAnimationEnd() | |
| getAnimationStart | back to summary |
|---|---|
| public final TranslateTransition getAnimationStart() | |
| getGlassPane | back to summary |
|---|---|
| public final GlassPane getGlassPane() | |
| getOnInitialized | back to summary |
|---|---|
| public final EventHandler | |
| getOverlay | back to summary |
|---|---|
| public final Region getOverlay() | |
| initialize | back to summary |
|---|---|
| private void initialize(Region overlay) | |
| isAnimated | back to summary |
|---|---|
| public final boolean isAnimated() Returns whether or not this overlay is animated. Implementation Note An overlay is being considered as animated when
| |
| isInitialized | back to summary |
|---|---|
| public final boolean isInitialized() | |
| onInitializedProperty | back to summary |
|---|---|
| public final ObjectProperty Enables to define actions that should be performed when an overlay is initialized. Implementation Note an overlay is being considered as initialized, when the
| |
| setInitialized | back to summary |
|---|---|
| private void setInitialized(boolean initialized) | |
| setOnInitialized | back to summary |
|---|---|
| public final void setOnInitialized(EventHandler<Event> value) | |
| setupInitializedListeners | back to summary |
|---|---|
| private void setupInitializedListeners(Region overlay) | |