com.extjs.gxt.ui.client.store
Class TreeStoreEvent<M extends ModelData>

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
      extended by com.extjs.gxt.ui.client.store.StoreEvent<M>
          extended by com.extjs.gxt.ui.client.store.TreeStoreEvent<M>
Type Parameters:
M - the model type

public class TreeStoreEvent<M extends ModelData>
extends StoreEvent<M>

A tree store event.


Constructor Summary
TreeStoreEvent(TreeStore<M> store)
          Creates a new tree store event.
 
Method Summary
 M getChild()
          Returns the child.
 java.util.List<M> getChildren()
          Returns the children.
 M getParent()
          Returns the parent.
 void setChild(M child)
          Sets the child.
 void setChildren(java.util.List<M> children)
          Sets the children.
 void setParent(M parent)
          Sets the parent.
 
Methods inherited from class com.extjs.gxt.ui.client.store.StoreEvent
getIndex, getModel, getModels, getOperation, getRecord, getSortInfo, getStore, setIndex, setModel, setModels, setOperation, setRecord, setSortInfo, setStore
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent
getSource, getType, isCancelled, setCancelled, setSource, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeStoreEvent

public TreeStoreEvent(TreeStore<M> store)
Creates a new tree store event.

Parameters:
store - the source store
Method Detail

getChild

public M getChild()
Returns the child.

Returns:
the child

getChildren

public java.util.List<M> getChildren()
Returns the children.

Returns:
the children

getParent

public M getParent()
Returns the parent.

Returns:
the parent

setChild

public void setChild(M child)
Sets the child.

Parameters:
child - the child

setChildren

public void setChildren(java.util.List<M> children)
Sets the children.

Parameters:
children - the children

setParent

public void setParent(M parent)
Sets the parent.

Parameters:
parent - the parent