|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsyncTreeDataUpdater<E extends AsyncUniqueNode>
This interface provides methods for asynchronous tree data update. Basically these methods called when some tree node is renamed, moved or removed. This interface will be informed about such changes so you can perform data update actions.
Method Summary | |
---|---|
void |
nodeMoved(E node,
E oldParent,
E newParent,
java.lang.Runnable moveFailed)
Called when node move (D&D or cut/paste) operation performed. |
void |
nodeRemoved(E node,
java.lang.Runnable removeFailed)
Called when node remove operation performed. |
void |
nodeRenamed(E node,
java.lang.String oldName,
java.lang.String newName,
java.lang.Runnable renameFailed)
Called when node rename operation performed. |
void |
nodesAdded(java.util.List<E> nodes,
E parentNode,
java.lang.Runnable addFailed)
Called when node add operation performed. |
Method Detail |
---|
void nodesAdded(java.util.List<E> nodes, E parentNode, java.lang.Runnable addFailed)
nodes
- added nodes listparentNode
- parent node where specified nodes were addedaddFailed
- runnable you should call in case data update failed, it will cancel changesvoid nodeRenamed(E node, java.lang.String oldName, java.lang.String newName, java.lang.Runnable renameFailed)
node
- renamed nodeoldName
- old node namenewName
- new node namerenameFailed
- runnable you should call in case data update failed, it will cancel changesvoid nodeMoved(E node, E oldParent, E newParent, java.lang.Runnable moveFailed)
node
- moved nodeoldParent
- old parent nodenewParent
- new parent nodemoveFailed
- runnable you should call in case data update failed, it will cancel changesvoid nodeRemoved(E node, java.lang.Runnable removeFailed)
node
- removed noderemoveFailed
- runnable you should call in case data update failed, it will cancel changes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |