public class JFXToggleBtn
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JFXToggleBtn.ToggleSwitch |
Modifier and Type | Field and Description |
---|---|
private static double |
ANIMATIONTIME |
private static javafx.scene.paint.Color |
BUTTONBACKGROUND |
private static javafx.scene.paint.Color |
BUTTONCOLOR |
private static javafx.scene.paint.Color |
OFFCOLOR |
private static javafx.scene.paint.Color |
ONCOLOR |
private JFXToggleBtn.ToggleSwitch |
toggleSwitch |
Constructor and Description |
---|
JFXToggleBtn(int height,
boolean isOn) |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.BooleanProperty |
getIsOn() |
javafx.scene.layout.Region |
getSwitch() |
private static final double ANIMATIONTIME
private static final javafx.scene.paint.Color BUTTONBACKGROUND
private static final javafx.scene.paint.Color BUTTONCOLOR
private static final javafx.scene.paint.Color OFFCOLOR
private static final javafx.scene.paint.Color ONCOLOR
private JFXToggleBtn.ToggleSwitch toggleSwitch