com.vaadin.ui
Class Tree.TreeContextClickEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.event.ConnectorEvent
          extended by com.vaadin.ui.Component.Event
              extended by com.vaadin.event.MouseEvents.ClickEvent
                  extended by com.vaadin.event.ContextClickEvent
                      extended by com.vaadin.ui.Tree.TreeContextClickEvent
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Tree

public static class Tree.TreeContextClickEvent
extends ContextClickEvent

ContextClickEvent for the Tree Component.

Since:
7.6
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.event.ContextClickEvent
ContextClickEvent.ContextClickListener, ContextClickEvent.ContextClickNotifier
 
Field Summary
 
Fields inherited from class com.vaadin.event.ContextClickEvent
CONTEXT_CLICK_METHOD
 
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
Tree.TreeContextClickEvent(Tree source, java.lang.Object itemId, com.vaadin.shared.MouseEventDetails mouseEventDetails)
           
 
Method Summary
 Tree getComponent()
          Gets the component where the event occurred.
 java.lang.Object getItemId()
          Returns the item id of context clicked row.
 
Methods inherited from class com.vaadin.event.MouseEvents.ClickEvent
getButton, getButtonName, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey
 
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
 
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
 

Constructor Detail

Tree.TreeContextClickEvent

public Tree.TreeContextClickEvent(Tree source,
                                  java.lang.Object itemId,
                                  com.vaadin.shared.MouseEventDetails mouseEventDetails)
Method Detail

getComponent

public Tree 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

getItemId

public java.lang.Object getItemId()
Returns the item id of context clicked row.

Returns:
item id of clicked row; null if no row is present at the location


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.