- java.lang.Object
-
- java.util.EventObject
-
- javafx.event.Event
-
- com.gluonhq.charm.glisten.control.LifecycleEvent
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class LifecycleEvent extends Event
This is the event class for all objects that go through a life cycle of SHOW/HIDE.- Since:
- 2.0.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EventType<LifecycleEvent>
ANY
Common supertype for all LifecycleEvent event types.static EventType<LifecycleEvent>
CLOSE_REQUEST
This event is delivered to an object when there is an external request to close/hide that object.static EventType<LifecycleEvent>
HIDDEN
This event happens just after the object is hidden.static EventType<LifecycleEvent>
HIDING
This event happens just before the object is hidden.static EventType<LifecycleEvent>
SHOWING
This event happens just before the object is shownstatic EventType<LifecycleEvent>
SHOWN
This event happens just after the object is shown.-
Fields inherited from class javafx.event.Event
consumed, eventType, NULL_SOURCE_TARGET, target
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description LifecycleEvent(EventTarget sourceAndTarget, EventType<? extends Event> eventType)
-
Method Summary
-
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
ANY
public static final EventType<LifecycleEvent> ANY
Common supertype for all LifecycleEvent event types.
-
SHOWING
public static final EventType<LifecycleEvent> SHOWING
This event happens just before the object is shown
-
SHOWN
public static final EventType<LifecycleEvent> SHOWN
This event happens just after the object is shown.
-
HIDING
public static final EventType<LifecycleEvent> HIDING
This event happens just before the object is hidden.
-
HIDDEN
public static final EventType<LifecycleEvent> HIDDEN
This event happens just after the object is hidden.
-
CLOSE_REQUEST
public static final EventType<LifecycleEvent> CLOSE_REQUEST
This event is delivered to an object when there is an external request to close/hide that object. If the event is consumed the object will not close.
-
-
Constructor Detail
-
LifecycleEvent
public LifecycleEvent(EventTarget sourceAndTarget, EventType<? extends Event> eventType)
-
-