Class ColumnToggleEvent<T>

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.grid.Grid<T>>
com.flowingcode.vaadin.addons.gridhelpers.ColumnToggleEvent<T>
Type Parameters:
T - the grid bean type
All Implemented Interfaces:
Serializable

public class ColumnToggleEvent<T> extends com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.grid.Grid<T>>
Event describing a change in column visibility through the toggle menu.
See Also:
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    ColumnToggleEvent(com.vaadin.flow.component.grid.Grid<T> source, com.vaadin.flow.component.grid.Grid.Column<T> column, boolean fromClient)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.component.grid.Grid.Column<T>
    Returns the column whose visibility was toggled.

    Methods inherited from class com.vaadin.flow.component.ComponentEvent

    getSource, isFromClient, unregisterListener

    Methods inherited from class java.util.EventObject

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ColumnToggleEvent

      public ColumnToggleEvent(com.vaadin.flow.component.grid.Grid<T> source, com.vaadin.flow.component.grid.Grid.Column<T> column, boolean fromClient)
  • Method Details

    • getColumn

      public com.vaadin.flow.component.grid.Grid.Column<T> getColumn()
      Returns the column whose visibility was toggled.