Module MaterialFX

Class MFXStepper.MFXStepperEvent

java.lang.Object
java.util.EventObject
javafx.event.Event
io.github.palexdev.materialfx.controls.MFXStepper.MFXStepperEvent
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
MFXStepper

public static class MFXStepper.MFXStepperEvent extends Event
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.

- BEFORE_NEXT_EVENT: at the start of the 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: