Class AttachEvent

All Implemented Interfaces:
Serializable

public class AttachEvent extends AbstractAttachDetachEvent
Event fired after a Component is attached to the UI.

When a hierarchy of components is being attached, this event is fired child-first.

Since:
1.0
See Also:
  • Constructor Details

    • AttachEvent

      public AttachEvent(Component source, boolean initialAttach)
      Creates a new attach event with the given component as source.
      Parameters:
      source - the component that was attached
      initialAttach - indicates whether this is the first time the component (element) has been attached
  • Method Details

    • isInitialAttach

      public boolean isInitialAttach()
      Checks whether this is the first time the component has been attached.
      Returns:
      true if this it the first time the component has been attached, false otherwise