public static class PlusMinusSlider.PlusMinusEvent
extends javafx.scene.input.InputEvent
PlusMinusSlider to inform event
handlers about changes.| Modifier and Type | Field and Description |
|---|---|
static javafx.event.EventType<PlusMinusSlider.PlusMinusEvent> |
ANY |
static javafx.event.EventType<PlusMinusSlider.PlusMinusEvent> |
VALUE_CHANGED
An event type used when the value property (
PlusMinusSlider.valueProperty()) changes. |
| Constructor and Description |
|---|
PlusMinusEvent(java.lang.Object source,
javafx.event.EventTarget target,
javafx.event.EventType<? extends javafx.scene.input.InputEvent> eventType,
double value)
Constructs a new event object.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue()
The value of the
PlusMinusSlider. |
public static final javafx.event.EventType<PlusMinusSlider.PlusMinusEvent> ANY
public static final javafx.event.EventType<PlusMinusSlider.PlusMinusEvent> VALUE_CHANGED
PlusMinusSlider.valueProperty()) changes.public PlusMinusEvent(java.lang.Object source,
javafx.event.EventTarget target,
javafx.event.EventType<? extends javafx.scene.input.InputEvent> eventType,
double value)
source - the source of the event (always the
PlusMinusSlider)target - the target of the event (always the
PlusMinusSlider)eventType - the type of the event (e.g. VALUE_CHANGED)value - the actual current value of the adjusterpublic double getValue()
PlusMinusSlider.