Package org.controlsfx.control
Class PlusMinusSlider.PlusMinusEvent
- java.lang.Object
-
- java.util.EventObject
-
- javafx.event.Event
-
- javafx.scene.input.InputEvent
-
- org.controlsfx.control.PlusMinusSlider.PlusMinusEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
- Enclosing class:
- PlusMinusSlider
public static class PlusMinusSlider.PlusMinusEvent extends javafx.scene.input.InputEvent
An event class used by thePlusMinusSlider
to inform event handlers about changes.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getValue()
The value of thePlusMinusSlider
.
-
-
-
Field Detail
-
ANY
public static final javafx.event.EventType<PlusMinusSlider.PlusMinusEvent> ANY
-
VALUE_CHANGED
public static final javafx.event.EventType<PlusMinusSlider.PlusMinusEvent> VALUE_CHANGED
An event type used when the value property (PlusMinusSlider.valueProperty()
) changes.
-
-
Constructor Detail
-
PlusMinusEvent
public 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.- Parameters:
source
- the source of the event (always thePlusMinusSlider
)target
- the target of the event (always thePlusMinusSlider
)eventType
- the type of the event (e.g.VALUE_CHANGED
)value
- the actual current value of the adjuster
-
-
Method Detail
-
getValue
public double getValue()
The value of thePlusMinusSlider
.- Returns:
- the value
-
-