|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandViewNodeListener
Defines the events fired by CommandViewNode's.
Method Summary | |
---|---|
void |
childAdded(CommandViewNodeEvent e)
Fired when a child is added to the node. |
void |
childMoved(CommandViewNodeEvent e)
Fired when a child is moved within the node. |
void |
childRemoved(CommandViewNodeEvent e)
Fired when a child is removed from the node. |
void |
commandChanged(CommandViewNodeEvent e)
Fired when a child is moved within the node. |
Method Detail |
---|
void childAdded(CommandViewNodeEvent e)
e
- The event. e e.getNode () == new node, e.getOldIndex ()
== -1, e.getNewIndex () == index of new node.void childRemoved(CommandViewNodeEvent e)
e
- The event. e.getNode () == removed node, e.getOldIndex
() == old index of node, e.getNewIndex () == -1.void childMoved(CommandViewNodeEvent e)
e
- The event. e.getNode () == moved node, e.getOldIndex ()
== old index of node, e.getNewIndex () == new index.void commandChanged(CommandViewNodeEvent e)
e
- The event. e.getSourceNode () == node that changed,
e.getNode () == null, e.getOldCommand () == old command (may be
null), e.getNewCommand () == new command.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |