java.lang.Object
java.util.EventObject
javafx.event.Event
io.github.palexdev.materialfx.controls.MFXStepper.MFXStepperEvent
- All Implemented Interfaces:
Serializable,Cloneable
- Enclosing class:
- MFXStepper
Events class for MFXSteppers.
Defines seven new EventTypes:
- FORCE_LAYOUT_UPDATE_EVENT: if there is a bug with the stepper layout the user can call MFXStepper.forceLayoutUpdate() to fire this event and update the layout.
MFXStepper.next() method but after checking if the toggles list is empty.
- NEXT_EVENT: when the MFXStepper.next() method is called and the index property is updated.
- BEFORE_PREVIOUS_EVENT: at the start of the MFXStepper.previous() method but after checking if the toggles list is empty.
- PREVIOUS_EVENT: when the MFXStepper.previous() method is called and the index property is updated.
- LAST_NEXT_EVENT: when the MFXStepper.next() method is called and the last toggle is selected/already reached.
- VALIDATION_FAILED_EVENT: when the MFXStepper.next() method is called and the validator's state is invalid.
These events are automatically fired by the control so they should not be fired by users.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventType<MFXStepper.MFXStepperEvent>static final EventType<MFXStepper.MFXStepperEvent>static final EventType<MFXStepper.MFXStepperEvent>static final EventType<MFXStepper.MFXStepperEvent>static final EventType<MFXStepper.MFXStepperEvent>static final EventType<MFXStepper.MFXStepperEvent>static final EventType<MFXStepper.MFXStepperEvent>Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
FORCE_LAYOUT_UPDATE_EVENT
-
BEFORE_NEXT_EVENT
-
NEXT_EVENT
-
BEFORE_PREVIOUS_EVENT
-
PREVIOUS_EVENT
-
LAST_NEXT_EVENT
-
VALIDATION_FAILED_EVENT
-
-
Constructor Details
-
MFXStepperEvent
-