Class ColumnVisibilityChangeEvent<T>

  • Type Parameters:
    T - The row type of the grid. The row type is the POJO type from where the data is retrieved into the column cells.

    public class ColumnVisibilityChangeEvent<T>
    extends com.google.gwt.event.shared.GwtEvent<ColumnVisibilityChangeHandler<T>>
    An event for notifying that the columns in the Grid's have changed visibility.
    Since:
    7.5.0
    Author:
    Vaadin Ltd
    • Constructor Detail

      • ColumnVisibilityChangeEvent

        public ColumnVisibilityChangeEvent​(Grid.Column<?,​T> column,
                                           boolean hidden,
                                           boolean userOriginated)
    • Method Detail

      • getColumn

        public Grid.Column<?,​T> getColumn()
        Returns the column where the visibility change occurred.
        Returns:
        the column where the visibility change occurred.
      • isHidden

        public boolean isHidden()
        Was the column set hidden or visible.
        Returns:
        true if the column was hidden false if it was set visible
      • isUserOriginated

        public boolean isUserOriginated()
        Is the visibility change triggered by user.
        Returns:
        true if the change was triggered by user, false if not