com.vaadin.ui
Class Table.TableContextClickEvent
java.lang.Object
java.util.EventObject
com.vaadin.event.ConnectorEvent
com.vaadin.ui.Component.Event
com.vaadin.event.MouseEvents.ClickEvent
com.vaadin.event.ContextClickEvent
com.vaadin.ui.Table.TableContextClickEvent
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Table
public static class Table.TableContextClickEvent
- extends ContextClickEvent
ContextClickEvent for the Table Component.
- Since:
- 7.6
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
Table.TableContextClickEvent(Table source,
com.vaadin.shared.MouseEventDetails mouseEventDetails,
java.lang.Object itemId,
java.lang.Object propertyId,
com.vaadin.shared.ui.table.TableConstants.Section section)
|
|
Method Summary |
Table |
getComponent()
Gets the component where the event occurred. |
java.lang.Object |
getItemId()
Returns the item id of context clicked row. |
java.lang.Object |
getPropertyId()
Returns the property id of context clicked column. |
com.vaadin.shared.ui.table.TableConstants.Section |
getSection()
Returns the clicked section of Table. |
| Methods inherited from class com.vaadin.event.MouseEvents.ClickEvent |
getButton, getButtonName, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey |
| 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 |
Table.TableContextClickEvent
public Table.TableContextClickEvent(Table source,
com.vaadin.shared.MouseEventDetails mouseEventDetails,
java.lang.Object itemId,
java.lang.Object propertyId,
com.vaadin.shared.ui.table.TableConstants.Section section)
getItemId
public java.lang.Object getItemId()
- Returns the item id of context clicked row.
- Returns:
- item id of clicked row;
null if header, footer
or empty area of Table
getPropertyId
public java.lang.Object getPropertyId()
- Returns the property id of context clicked column.
- Returns:
- property id; or
null if we've clicked on the
empty area of the Table
getSection
public com.vaadin.shared.ui.table.TableConstants.Section getSection()
- Returns the clicked section of Table.
- Returns:
- section of Table
getComponent
public Table getComponent()
- Description copied from class:
Component.Event
- Gets the component where the event occurred.
- Overrides:
getComponent in class Component.Event
- Returns:
- the source component of the event
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.