public final class GlistenStyleClasses
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
BUTTON_FLAT |
A style class for when the button should display using a flat style.
|
static java.lang.String |
BUTTON_ROUND |
A style class for when the button should display using a round style.
|
static java.lang.String |
DARK |
A style class for when the UI control should display using its dark theme.
|
static java.lang.String |
ICON_TEXT |
A style class for when the UI control should display an icon, for example,
MaterialDesignIcon. |
static java.lang.String |
LIGHT |
A style class for when the UI control should display using its light theme.
|
static java.lang.String |
TAB_PANE_INVERTED |
A style class to invert colors of the tab pane.
|
static java.lang.String |
TEXT_INPUT_FULL_WIDTH |
A style class for when the text input control should display as a full
width control.
|
static java.lang.String |
TOGGLE_BUTTON_SWITCH |
A style class for when the toggle button should display as a switch.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
applyStyleClass(javafx.scene.Node n,
java.lang.String... styleClasses) |
Convenience method that will conditionally apply the given style class
varargs list to the given node, on the basis that doing so will not
duplicate any of the style classes.
|
public static final java.lang.String LIGHT
public static final java.lang.String DARK
public static final java.lang.String ICON_TEXT
MaterialDesignIcon.public static final java.lang.String BUTTON_FLAT
public static final java.lang.String BUTTON_ROUND
public static final java.lang.String TEXT_INPUT_FULL_WIDTH
public static final java.lang.String TOGGLE_BUTTON_SWITCH
public static final java.lang.String TAB_PANE_INVERTED
public static void applyStyleClass(javafx.scene.Node n,
java.lang.String... styleClasses)
n - The node to apply the style classes to.styleClasses - The style classes to apply.