com.vaadin.ui
Class Table.ColumnResizeEvent
java.lang.Object
java.util.EventObject
com.vaadin.event.ConnectorEvent
com.vaadin.ui.Component.Event
com.vaadin.ui.Table.ColumnResizeEvent
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Table
public static class Table.ColumnResizeEvent
- extends Component.Event
This event is fired when a column is resized. The event contains the
columns property id which was fired, the previous width of the column and
the width of the column after the resize.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
int |
getCurrentWidth()
Get the width in pixels of the column after the resize event |
int |
getPreviousWidth()
Get the width in pixels of the column before the resize event |
java.lang.Object |
getPropertyId()
Get the column property id of the column that was resized. |
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 |
COLUMN_RESIZE_METHOD
public static final java.lang.reflect.Method COLUMN_RESIZE_METHOD
Table.ColumnResizeEvent
public Table.ColumnResizeEvent(Component source,
java.lang.Object propertyId,
int previous,
int current)
- Constructor
- Parameters:
source
- The source of the eventpropertyId
- The columns property idprevious
- The width in pixels of the column before the resize eventcurrent
- The width in pixels of the column after the resize event
getPropertyId
public java.lang.Object getPropertyId()
- Get the column property id of the column that was resized.
- Returns:
- The column property id
getPreviousWidth
public int getPreviousWidth()
- Get the width in pixels of the column before the resize event
- Returns:
- Width in pixels
getCurrentWidth
public int getCurrentWidth()
- Get the width in pixels of the column after the resize event
- Returns:
- Width in pixels
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.