Class ColumnToggleEvent<T>
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<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 ComponentEvent<Grid<T>>
Event describing a change in column visibility through the toggle menu.
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ColumnToggleEvent(Grid<T> source, Grid.Column<T> column, boolean fromClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Grid.Column<T>
getColumn()
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
-
-
-
-
Constructor Detail
-
ColumnToggleEvent
public ColumnToggleEvent(Grid<T> source, Grid.Column<T> column, boolean fromClient)
-
-
Method Detail
-
getColumn
public Grid.Column<T> getColumn()
Returns the column whose visibility was toggled.
-
-