Class SpacerVisibilityChangedEvent


  • public class SpacerVisibilityChangedEvent
    extends com.google.gwt.event.shared.GwtEvent<SpacerVisibilityChangedHandler>
    Event fired when a spacer element is hidden or shown in Escalator.
    Since:
    7.7.13
    Author:
    Vaadin Ltd
    • Constructor Detail

      • SpacerVisibilityChangedEvent

        public SpacerVisibilityChangedEvent​(int rowIndex,
                                            boolean visible)
        Creates a spacer visibility changed event.
        Parameters:
        rowIndex - index of row to which the spacer belongs
        visible - true if the spacer element is shown, false if the spacer element is hidden
    • Method Detail

      • getRowIndex

        public int getRowIndex()
        Gets the row index to which the spacer element belongs.
        Returns:
        the row index to which the spacer element belongs
      • isVisible

        public boolean isVisible()
        Gets whether the spacer element is displayed.
        Returns:
        true if the spacer element is shown, false if the spacer element is hidden