Class ComponentStateChangeEvent
java.lang.Object
com.codename1.ui.events.ActionEvent
com.codename1.ui.events.ComponentStateChangeEvent
An event that is fired when the state of a component is changed to and from initialized.
-
Nested Class Summary
Nested classes/interfaces inherited from class ActionEvent
ActionEvent.Type -
Constructor Summary
ConstructorsConstructorDescriptionComponentStateChangeEvent(Component source, boolean initialized) Creates a ComponentStateChangeEvent. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if the component state is initialized.Methods inherited from class ActionEvent
consume, getActualComponent, getCommand, getComponent, getDraggedComponent, getDropTarget, getEventType, getKeyEvent, getProgress, getSource, getX, getY, isConsumed, isLongEvent, isPointerPressedDuringDrag, setPointerPressedDuringDrag
-
Constructor Details
-
ComponentStateChangeEvent
Creates a ComponentStateChangeEvent.
Parameters
-
source: The component whose state has changed. -
initialized: True if the component state changed to initialized. False otherwise.
-
-
-
Method Details
-
isInitialized
public boolean isInitialized()Indicates if the component state is initialized.
Returns
True if the component state changed to initialized.
-