com.vaadin.ui
Class Grid.ColumnResizeEvent
java.lang.Object
java.util.EventObject
com.vaadin.event.ConnectorEvent
com.vaadin.ui.Component.Event
com.vaadin.ui.Grid.ColumnResizeEvent
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Grid
public static class Grid.ColumnResizeEvent
- extends Component.Event
An event that is fired when a column is resized, either programmatically
or by the user.
- Since:
- 7.6
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Method Summary |
Grid.Column |
getColumn()
Returns the column that was resized. |
boolean |
isUserOriginated()
Returns true if the column resize was done by the user,
false if not and it was triggered by server side code. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Grid.ColumnResizeEvent
public Grid.ColumnResizeEvent(Grid source,
Grid.Column column,
boolean userOriginated)
- Parameters:
source - the grid where the event originated fromuserOriginated - true if event is a result of user
interaction, false if from API call
getColumn
public Grid.Column getColumn()
- Returns the column that was resized.
- Returns:
- the resized column.
isUserOriginated
public boolean isUserOriginated()
- Returns
true if the column resize was done by the user,
false if not and it was triggered by server side code.
- Returns:
true if event is a result of user interaction
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.