Class ExpansionEvent

  • All Implemented Interfaces:
    Serializable

    public final class ExpansionEvent
    extends TypedEvent
    Notifies listeners when expandable controls change expansion state.
    Since:
    3.0
    See Also:
    Serialized Form
    • Constructor Detail

      • ExpansionEvent

        public ExpansionEvent​(Object obj,
                              boolean state)
        Creates a new expansion ecent.
        Parameters:
        obj - event source
        state - the new expansion state
    • Method Detail

      • getState

        public boolean getState()
        Returns the new expansion state of the widget.
        Returns:
        true if the widget is now expaned, false otherwise.