Class ComponentStateChangeEvent

java.lang.Object
com.codename1.ui.events.ActionEvent
com.codename1.ui.events.ComponentStateChangeEvent

public class ComponentStateChangeEvent extends ActionEvent
An event that is fired when the state of a component is changed to and from initialized.
  • Constructor Details

    • ComponentStateChangeEvent

      public ComponentStateChangeEvent(Component source, boolean initialized)

      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.