| Modifier and Type | Class and Description |
|---|---|
| private class | ScenePreferences.
Property implementation for media features that causes CSS to be re-applied when the property value is changed. |
| Modifier and Type | Field and Description |
|---|---|
| private final ScenePreferences. | |
| private final ScenePreferences. | |
| private final ScenePreferences. | |
| private final ScenePreferences. | |
| private final ScenePreferences. | |
| private final Scene |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectProperty | colorSchemeProperty()
Implements javafx. Specifies whether the scene should prefer light text on dark backgrounds, or dark text on light backgrounds. |
| public ColorScheme | getColorScheme()
Implements javafx. Provides the value for the |
| public boolean | isPersistentScrollBars()
Implements javafx. Gets the value of the |
| public boolean | isReducedData()
Implements javafx. Gets the value of the |
| public boolean | isReducedMotion()
Implements javafx. Gets the value of the |
| public boolean | isReducedTransparency()
Implements javafx. Gets the value of the |
| private void | |
| public ObjectProperty | persistentScrollBarsProperty()
Implements javafx. Specifies whether applications should always show scroll bars. |
| public ObjectProperty | reducedDataProperty()
Implements javafx. Specifies whether the scene should minimize the amount of internet traffic, which users might request because they are on a metered network or a limited data plan. |
| public ObjectProperty | reducedMotionProperty()
Implements javafx. Specifies whether the scene should minimize the amount of non-essential animations, reducing discomfort for users who experience motion sickness or vertigo. |
| public ObjectProperty | reducedTransparencyProperty()
Implements javafx. Specifies whether the scene should minimize the amount of transparent or translucent layer effects, which can help to increase contrast and readability for some users. |
| public void | |
| public void | setPersistentScrollBars(Boolean value)
Implements javafx. Sets the value of the |
| public void | setReducedData(Boolean value)
Implements javafx. Sets the value of the |
| public void | setReducedMotion(Boolean value)
Implements javafx. Sets the value of the |
| public void | setReducedTransparency(Boolean value)
Implements javafx. Sets the value of the |
| colorScheme | back to summary |
|---|---|
| private final ScenePreferences. | |
| persistentScrollBars | back to summary |
|---|---|
| private final ScenePreferences. | |
| reducedData | back to summary |
|---|---|
| private final ScenePreferences. | |
| reducedMotion | back to summary |
|---|---|
| private final ScenePreferences. | |
| reducedTransparency | back to summary |
|---|---|
| private final ScenePreferences. | |
| scene | back to summary |
|---|---|
| private final Scene scene | |
| ScenePreferences | back to summary |
|---|---|
| public ScenePreferences(Scene scene) | |
| colorSchemeProperty | back to summary |
|---|---|
| public ObjectProperty Implements javafx. Doc from javafx. Specifies whether the scene should prefer light text on dark backgrounds, or dark text on light backgrounds.
This property corresponds to the
| |
| getColorScheme | back to summary |
|---|---|
| public ColorScheme getColorScheme() Implements javafx. Doc from com. Provides the value for the
| |
| isPersistentScrollBars | back to summary |
|---|---|
| public boolean isPersistentScrollBars() Implements javafx. Doc from javafx. Gets the value of the
| |
| isReducedData | back to summary |
|---|---|
| public boolean isReducedData() Implements javafx. Doc from javafx. Gets the value of the
| |
| isReducedMotion | back to summary |
|---|---|
| public boolean isReducedMotion() Implements javafx. Doc from javafx. Gets the value of the
| |
| isReducedTransparency | back to summary |
|---|---|
| public boolean isReducedTransparency() Implements javafx. Doc from javafx. Gets the value of the
| |
| onShowingChanged | back to summary |
|---|---|
| private void onShowingChanged(Boolean showing) | |
| persistentScrollBarsProperty | back to summary |
|---|---|
| public ObjectProperty Implements javafx. Doc from javafx. Specifies whether applications should always show scroll bars. If set to
This property corresponds to the
| |
| reducedDataProperty | back to summary |
|---|---|
| public ObjectProperty Implements javafx. Doc from javafx. Specifies whether the scene should minimize the amount of internet traffic, which users might request because they are on a metered network or a limited data plan.
This property corresponds to the
| |
| reducedMotionProperty | back to summary |
|---|---|
| public ObjectProperty Implements javafx. Doc from javafx. Specifies whether the scene should minimize the amount of non-essential animations, reducing discomfort for users who experience motion sickness or vertigo.
This property corresponds to the
| |
| reducedTransparencyProperty | back to summary |
|---|---|
| public ObjectProperty Implements javafx. Doc from javafx. Specifies whether the scene should minimize the amount of transparent or translucent layer effects, which can help to increase contrast and readability for some users.
This property corresponds to the
| |
| setColorScheme | back to summary |
|---|---|
| public void setColorScheme(ColorScheme colorScheme) Implements javafx.
| |
| setPersistentScrollBars | back to summary |
|---|---|
| public void setPersistentScrollBars(Boolean value) Implements javafx. Doc from javafx. Sets the value of the
| |
| setReducedData | back to summary |
|---|---|
| public void setReducedData(Boolean value) Implements javafx. Doc from javafx. Sets the value of the
| |
| setReducedMotion | back to summary |
|---|---|
| public void setReducedMotion(Boolean value) Implements javafx. Doc from javafx. Sets the value of the
| |
| setReducedTransparency | back to summary |
|---|---|
| public void setReducedTransparency(Boolean value) Implements javafx. Doc from javafx. Sets the value of the
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getBean()
Implements javafx. Returns the |
| public String | getName()
Implements javafx. Returns the name of this property. |
| protected void | onInvalidated()
Overrides com. Called when the current value has changed. |
| name | back to summary |
|---|---|
| private final String name | |
| MediaProperty | back to summary |
|---|---|
| pack-priv MediaProperty(String name, ObservableValue<T> defaultValue) | |
| getBean | back to summary |
|---|---|
| public Object getBean() Implements javafx. Doc from javafx. Returns the
| |
| getName | back to summary |
|---|---|
| public String getName() Implements javafx. Doc from javafx. Returns the name of this property. If the property does not have a name,
this method returns an empty
| |
| onInvalidated | back to summary |
|---|---|
| protected void onInvalidated() Overrides com. Doc from com. Called when the current value has changed.
| |