Package com.vaadin.v7.ui
Class Grid.ColumnVisibilityChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.v7.ui.Grid.ColumnVisibilityChangeEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Grid
@Deprecated public static class Grid.ColumnVisibilityChangeEvent extends Component.Event
Deprecated.An event that is fired when a column's visibility changes.- Since:
- 7.5.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ColumnVisibilityChangeEvent(Grid source, Grid.Column column, boolean hidden, boolean isUserOriginated)Deprecated.Constructor for a column visibility change event.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Grid.ColumngetColumn()Deprecated.Gets the column that became hidden or visible.booleanisHidden()Deprecated.Was the column set hidden or visible.booleanisUserOriginated()Deprecated.Returnstrueif the column reorder was done by the user,falseif not and it was triggered by server side code.-
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ColumnVisibilityChangeEvent
public ColumnVisibilityChangeEvent(Grid source, Grid.Column column, boolean hidden, boolean isUserOriginated)
Deprecated.Constructor for a column visibility change event.- Parameters:
source- the grid from which this event originatescolumn- the column that changed its visibilityhidden-trueif the column was hidden,falseif it became visibleisUserOriginated-trueif the event was triggered by an UI interaction
-
-
Method Detail
-
getColumn
public Grid.Column getColumn()
Deprecated.Gets the column that became hidden or visible.- Returns:
- the column that became hidden or visible.
- See Also:
Grid.Column.isHidden()
-
isHidden
public boolean isHidden()
Deprecated.Was the column set hidden or visible.- Returns:
trueif the column was hiddenfalseif it was set visible
-
isUserOriginated
public boolean isUserOriginated()
Deprecated.Returnstrueif the column reorder was done by the user,falseif not and it was triggered by server side code.- Returns:
trueif event is a result of user interaction
-
-