| Modifier and Type | Field and Description |
|---|---|
| private final DoubleProperty | |
| private final BooleanProperty | |
| private final ObjectProperty | |
| private final FadeTransition | |
| private final BooleanProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final DoubleProperty | Returns: the opacity of the glass paneThe opacity value between 0 and 1 that will be used to gray out the content over which the glass pane is place. |
| public final ObjectProperty | Returns: the animation duration in millisecondsStores the duration of the fade in / fade out animation. |
| public final BooleanProperty | Returns: true if the fade in / out process will be animatedA property that determines whether we want to use a fade in / out animation of the glass pane when it gets shown or hidden. |
| public final double | |
| public final Duration | |
| public 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 BooleanProperty | Returns: true if the pane is currently hiddenControls whether the glass pane is hidden or shown. |
| public final boolean | |
| public final boolean | |
| public final void | |
| public final void | |
| public final void | |
| public final void |
| blockingOpacity | back to summary |
|---|---|
| private final DoubleProperty blockingOpacity | |
| fadeInOut | back to summary |
|---|---|
| private final BooleanProperty fadeInOut | |
| fadeInOutDuration | back to summary |
|---|---|
| private final ObjectProperty<Duration> fadeInOutDuration | |
| fadeTransition | back to summary |
|---|---|
| private final FadeTransition fadeTransition | |
| hide | back to summary |
|---|---|
| private final BooleanProperty hide | |
| GlassPane | back to summary |
|---|---|
| public GlassPane() | |
| blockingOpacityProperty | back to summary |
|---|---|
| public final DoubleProperty blockingOpacityProperty() The opacity value between 0 and 1 that will be used to gray out the content over which the glass pane is place. A separate opacity property is needed to support the fade in / fade out animation AND the regular opacity.
| |
| fadeInOutDurationProperty | back to summary |
|---|---|
| public final ObjectProperty Stores the duration of the fade in / fade out animation.
| |
| fadeInOutProperty | back to summary |
|---|---|
| public final BooleanProperty fadeInOutProperty() A property that determines whether we want to use a fade in / out animation of the glass pane when it gets shown or hidden.
| |
| getBlockingOpacity | back to summary |
|---|---|
| public final double getBlockingOpacity() | |
| getFadeInOutDuration | back to summary |
|---|---|
| public final Duration getFadeInOutDuration() | |
| getUserAgentStylesheet | back to summary |
|---|---|
| public String getUserAgentStylesheet() Overrides javafx. Doc from javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. These styles are used in addition to whatever user-agent stylesheets are in use. This provides a mechanism for third parties to introduce styles for custom controls. The URL is a hierarchical URI of the form [scheme:][//authority][path]. If the URL does not have a [scheme:] component, the URL is considered to be the [path] component only. Any leading '/' character of the [path] is ignored and the [path] is treated as a path relative to the root of the application's classpath. Subclasses overriding this method should not assume any particular implementation approach as to the number and frequency with which it is called. For this reason, attempting any kind of dynamic implementation (i.e. returning different user agent stylesheet values) based on some state change is highly discouraged, as there is no guarantee when, or even if, this method will be called. Some JavaFX CSS implementations may choose to cache this response for an indefinite period of time, and therefore there should be no expectation around when this method is called.
For additional information about using CSS with the scene graph,
see the CSS Reference Guide.
| |
| hideProperty | back to summary |
|---|---|
| public final BooleanProperty hideProperty() Controls whether the glass pane is hidden or shown.
| |
| isFadeInOut | back to summary |
|---|---|
| public final boolean isFadeInOut() | |
| isHide | back to summary |
|---|---|
| public final boolean isHide() | |
| setBlockingOpacity | back to summary |
|---|---|
| public final void setBlockingOpacity(double blockingOpacity) | |
| setFadeInOut | back to summary |
|---|---|
| public final void setFadeInOut(boolean fadeInOut) | |
| setFadeInOutDuration | back to summary |
|---|---|
| public final void setFadeInOutDuration(Duration fadeInOutDuration) | |
| setHide | back to summary |
|---|---|
| public final void setHide(boolean hide) | |