Package io.jmix.flowui.monitoring
Enum Class ViewLifeCycle
- All Implemented Interfaces:
Serializable,Comparable<ViewLifeCycle>,Constable
Enum representing the lifecycle phases of a
View.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPhase after theViewhas been closedPhase immediately before theViewis closedPhase immediately before theViewis shown to the userPhase when theViewinstance is createdPhase when theViewis being initializedPhase when dependencies are being injected into theViewPhase when theViewdata is being loaded from XMLPhase when theViewis fully initialized and ready for interaction -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the string name representation of the lifecycle phase.toString()static ViewLifeCycleReturns the enum constant of this class with the specified name.static ViewLifeCycle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE
Phase when theViewinstance is created -
LOAD
Phase when theViewdata is being loaded from XML -
INIT
Phase when theViewis being initialized -
BEFORE_SHOW
Phase immediately before theViewis shown to the user -
READY
Phase when theViewis fully initialized and ready for interaction -
INJECT
Phase when dependencies are being injected into theView -
BEFORE_CLOSE
Phase immediately before theViewis closed -
AFTER_CLOSE
Phase after theViewhas been closed
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<ViewLifeCycle>
-
getName
Gets the string name representation of the lifecycle phase.- Returns:
- the name of the lifecycle phase
-