|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gwtext.client.data.event.TreeListenerAdapter
public class TreeListenerAdapter
| Constructor Summary | |
|---|---|
TreeListenerAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
doBeforeAppend(Tree tree,
Node parent,
Node node)
Fires before a new child is appended to a node in this tree, return false to cancel the append. |
boolean |
doBeforeInsert(Tree tree,
Node parent,
Node node,
Node refNode)
Fires before a new child is inserted in a node in this tree, return false to cancel the insert. |
boolean |
doBeforeMove(Tree tree,
Node node,
Node oldParent,
Node newParent,
int index)
Fires before a node is moved to a new location in the tree. |
boolean |
doBeforeRemove(Tree tree,
Node parent,
Node node)
Fires before a child is removed from a node in this tree, return false to cancel the remove. |
void |
onAppend(Tree tree,
Node parent,
Node node,
int index)
Fires when a new child node is appended to a node in this tree. |
void |
onInsert(Tree tree,
Node parent,
Node node,
Node refNode)
Fires when a new child node is inserted in a node in this tree. |
void |
onMove(Tree tree,
Node node,
Node oldParent,
Node newParent,
int index)
Fires when a node is moved to a new location in the tree. |
void |
onRemove(Tree tree,
Node parent,
Node node)
Fires when a child node is removed from a node in this tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeListenerAdapter()
| Method Detail |
|---|
public void onAppend(Tree tree,
Node parent,
Node node,
int index)
TreeListener
onAppend in interface TreeListenertree - the owner treeparent - the parent nodenode - the newly appended nodeindex - the index of the newly appended node
public boolean doBeforeAppend(Tree tree,
Node parent,
Node node)
TreeListener
doBeforeAppend in interface TreeListenertree - the owner treeparent - the parent nodenode - the child node to be appended
public boolean doBeforeInsert(Tree tree,
Node parent,
Node node,
Node refNode)
TreeListener
doBeforeInsert in interface TreeListenertree - the owner treeparent - the parent nodenode - the child node to be insertedrefNode - the child node the node is being inserted before
public boolean doBeforeMove(Tree tree,
Node node,
Node oldParent,
Node newParent,
int index)
TreeListener
doBeforeMove in interface TreeListenertree - the owner treenode - the node being movedoldParent - the parent of the nodenewParent - the new parent the node is moving toindex - the index it is being moved to
public boolean doBeforeRemove(Tree tree,
Node parent,
Node node)
TreeListener
doBeforeRemove in interface TreeListenertree - the owner treeparent - the parent nodenode - the child node to be removed
public void onInsert(Tree tree,
Node parent,
Node node,
Node refNode)
TreeListener
onInsert in interface TreeListenertree - the owner treeparent - the parent nodenode - the child node insertedrefNode - the child node the node was inserted before
public void onMove(Tree tree,
Node node,
Node oldParent,
Node newParent,
int index)
TreeListener
onMove in interface TreeListenertree - the owner treenode - the node movedoldParent - the old parent of this nodenewParent - the new parent of this nodeindex - the index it was moved to
public void onRemove(Tree tree,
Node parent,
Node node)
TreeListener
onRemove in interface TreeListenertree - the owner treeparent - the parent nodenode - the child node removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||