public class StatusBar
extends java.lang.Object
.status-bar
style class in conjunction with the -fx-background-color
property.
This class can no be instantiated directly, and should instead be accessed via
MobileApplication.getStatusBar()
.
Type | Property and Description |
---|---|
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> |
color |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> |
colorProperty() |
javafx.scene.paint.Color |
getColor()
Gets the value of the property color.
|
void |
pseudoClassStateChanged(javafx.css.PseudoClass pseudoClass,
boolean active)
It is possible to specify CSS rules such as
.status-bar:error , and
have these pseudo class states be used to change the status bar color. |
void |
setColor(javafx.scene.paint.Color color)
Sets the value of the property color.
|
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> colorProperty
getColor()
,
setColor(Color)
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> colorProperty()
getColor()
,
setColor(Color)
public final void setColor(javafx.scene.paint.Color color)
public final javafx.scene.paint.Color getColor()
public final void pseudoClassStateChanged(javafx.css.PseudoClass pseudoClass, boolean active)
.status-bar:error
, and
have these pseudo class states be used to change the status bar color. If this
is desired, simply use this method to pass in all pseudoclass state, toggling
between active and inactive as desired.pseudoClass
- the pseudo-class that has changed stateactive
- whether or not the state is active