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>>
| Constructor and Description |
|---|
ColumnVisibilityChangeEvent(Grid.Column<?,T> column,
boolean hidden,
boolean userOriginated)
Constructs a visibility change event for a grid column.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(ColumnVisibilityChangeHandler<T> handler) |
com.google.gwt.event.shared.GwtEvent.Type<ColumnVisibilityChangeHandler<T>> |
getAssociatedType() |
Grid.Column<?,T> |
getColumn()
Returns the column where the visibility change occurred.
|
static com.google.gwt.event.shared.GwtEvent.Type<ColumnVisibilityChangeHandler<?>> |
getType()
Returns the associated handler type.
|
boolean |
isHidden()
Was the column set hidden or visible.
|
boolean |
isUserOriginated()
Is the visibility change triggered by user.
|
assertLive, getSource, isLive, kill, revivepublic ColumnVisibilityChangeEvent(Grid.Column<?,T> column, boolean hidden, boolean userOriginated)
column - the updated columnhidden - true if the column is now hidden, false
otherwiseuserOriginated - true if the event was triggered by user interaction,
false otherwisepublic static final com.google.gwt.event.shared.GwtEvent.Type<ColumnVisibilityChangeHandler<?>> getType()
public Grid.Column<?,T> getColumn()
public boolean isHidden()
true if the column was hidden false if
it was set visiblepublic boolean isUserOriginated()
true if the change was triggered by user,
false if notpublic com.google.gwt.event.shared.GwtEvent.Type<ColumnVisibilityChangeHandler<T>> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ColumnVisibilityChangeHandler<T>>protected void dispatch(ColumnVisibilityChangeHandler<T> handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<ColumnVisibilityChangeHandler<T>>Copyright © 2021 Vaadin Ltd. All rights reserved.