public static class Grid.ColumnVisibilityChangeEvent extends Component.Event
source
Constructor and Description |
---|
ColumnVisibilityChangeEvent(Grid source,
Grid.Column column,
boolean hidden,
boolean isUserOriginated)
Constructor for a column visibility change event.
|
Modifier and Type | Method and Description |
---|---|
Grid.Column |
getColumn()
Gets the column that became hidden or visible.
|
boolean |
isHidden()
Was the column set hidden or visible.
|
boolean |
isUserOriginated()
Returns
true if the column reorder was done by the user,
false if not and it was triggered by server side code. |
getComponent
getConnector
getSource, toString
public ColumnVisibilityChangeEvent(Grid source, Grid.Column column, boolean hidden, boolean isUserOriginated)
source
- the grid from which this event originatescolumn
- the column that changed its visibilityhidden
- true
if the column was hidden,
false
if it became visibleisUserOriginated
- true
iff the event was triggered by an UI
interactionpublic Grid.Column getColumn()
Grid.Column.isHidden()
public boolean isHidden()
true
if the column was hidden false
if it was set visiblepublic boolean isUserOriginated()
true
if the column reorder was done by the user,
false
if not and it was triggered by server side code.true
if event is a result of user interactionCopyright © 2021 Vaadin Ltd. All rights reserved.