public static class PlusMinusSlider.PlusMinusEvent extends InputEvent
PlusMinusSlider to inform event
handlers about changes.| Modifier and Type | Field and Description |
|---|---|
static EventType<PlusMinusSlider.PlusMinusEvent> |
ANY |
static EventType<PlusMinusSlider.PlusMinusEvent> |
VALUE_CHANGED
An event type used when the value property (
PlusMinusSlider.valueProperty()) changes. |
consumed, eventType, NULL_SOURCE_TARGET, targetsource| Constructor and Description |
|---|
PlusMinusEvent(Object source,
EventTarget target,
EventType<? extends InputEvent> eventType,
double value)
Constructs a new event object.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getValue()
The value of the
PlusMinusSlider. |
getEventTypeclone, consume, copyFor, fireEvent, getTarget, isConsumedgetSource, toStringpublic static final EventType<PlusMinusSlider.PlusMinusEvent> ANY
public static final EventType<PlusMinusSlider.PlusMinusEvent> VALUE_CHANGED
PlusMinusSlider.valueProperty()) changes.public PlusMinusEvent(Object source, EventTarget target, EventType<? extends 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.