Package com.vaadin.v7.event
Class ItemClickEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.event.MouseEvents.ClickEvent
-
- com.vaadin.v7.event.ItemClickEvent
-
- All Implemented Interfaces:
Serializable
@Deprecated public class ItemClickEvent extends MouseEvents.ClickEvent
Deprecated.As of 8.0, see component-specific click events.Click event fired by aComponent
implementingContainer
interface. ItemClickEvents happens on anItem
rendered somehow on terminal. Event may also contain a specificProperty
on which the click event happened.- Since:
- 5.3
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ItemClickEvent.ItemClickListener
Deprecated.static interface
ItemClickEvent.ItemClickNotifier
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description static Method
ITEM_CLICK_METHOD
Deprecated.-
Fields inherited from class com.vaadin.event.MouseEvents.ClickEvent
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ItemClickEvent(Component source, Item item, Object itemId, Object propertyId, com.vaadin.shared.MouseEventDetails details)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Item
getItem()
Deprecated.Gets the item on which the click event occurred.Object
getItemId()
Deprecated.Gets a possible identifier in source for clicked Item.Object
getPropertyId()
Deprecated.Returns property on which click event occurred.-
Methods inherited from class com.vaadin.event.MouseEvents.ClickEvent
getButton, getButtonName, getClientX, getClientY, getMouseEventDetails, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey
-
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
-
-
-
-
Field Detail
-
ITEM_CLICK_METHOD
public static final Method ITEM_CLICK_METHOD
Deprecated.
-
-
Method Detail
-
getItem
public Item getItem()
Deprecated.Gets the item on which the click event occurred.- Returns:
- item which was clicked
-
getItemId
public Object getItemId()
Deprecated.Gets a possible identifier in source for clicked Item.- Returns:
-
getPropertyId
public Object getPropertyId()
Deprecated.Returns property on which click event occurred. Returns null if source cannot be resolved at property level. For example if clicked a cell in table, the "column id" is returned.- Returns:
- a property id of clicked property or null if click didn't occur on any distinct property.
-
-