com.vaadin.ui.


Class Tree.ExpandEvent

java.lang.Object
  java.util.EventObject
      com.vaadin.ui.Component.Event
          com.vaadin.ui.Tree.ExpandEvent

All Implemented Interfaces:

Serializable

Enclosing class:

Tree

public static class Tree.ExpandEvent
extends Component.Event

Event to fired when a node is expanded. ExapandEvent is fired when a node is to be expanded. it can me used to dynamically fill the sub-nodes of the node.

Since:

3.0

Version:

6.8.18

Author:

Vaadin Ltd.

See Also:

Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Tree.ExpandEvent(Component source, Object expandedItemId)
          New instance of options change event
 
Method Summary
 Object getItemId()
          Node where the event occurred.
 
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
 
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.ExpandEvent

public Tree.ExpandEvent(Component source,
                        Object expandedItemId)

New instance of options change event

Parameters:
source - the Source of the event.
expandedItemId -

Method Detail

getItemId

public Object getItemId()

Node where the event occurred.

Returns:
the Source of the event.