Class 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 the PlusMinusSlider to inform event handlers about changes.
    See Also:
    Serialized Form
    • 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 the PlusMinusSlider.
      • Methods inherited from class javafx.scene.input.InputEvent

        getEventType
      • Methods inherited from class javafx.event.Event

        clone, consume, copyFor, fireEvent, getTarget, isConsumed
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 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 adjuster
    • Method Detail

      • getValue

        public double getValue()
        The value of the PlusMinusSlider.
        Returns:
        the value