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) |
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() |
boolean |
isHidden()
Was the column set hidden or visible.
|
boolean |
isUserOriginated()
Is the visibility change triggered by user.
|
assertLive, getSource, isLive, kill, revive
public ColumnVisibilityChangeEvent(Grid.Column<?,T> column, boolean hidden, boolean userOriginated)
public 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 © 2018 Vaadin Ltd. All rights reserved.