|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeChangeListener
A "tree change" event gets fired whenever a model changes a "bound" tree. You can register a TreeChangeListener with a source model so as to be notified of any bound tree updates. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Method Summary | |
---|---|
void |
nodeAdded(TreeChangeEvent event)
This method gets called when a node is added to a bound tree. |
void |
nodeRemoved(TreeChangeEvent event)
This method gets called when a node is removed from a bound tree. |
void |
treeChanged(TreeChangeEvent event)
This method gets called when a portion of a bound tree is changed in a manner that is not easily characterized by the other methods in this interface. |
void |
treeCleared(TreeChangeEvent event)
This method gets called when a bound tree is cleared. |
Method Detail |
---|
void nodeAdded(TreeChangeEvent event)
event
- A TreeChangeEvent describing the event source,
the tree that changed, and the path to the node that was added.void nodeRemoved(TreeChangeEvent event)
event
- A TreeChangeEvent describing the event source,
the tree that changed, and the path to the node that was removed.void treeCleared(TreeChangeEvent event)
event
- A TreeChangeEvent describing the event source,
the tree that changed, and an empty path.void treeChanged(TreeChangeEvent event)
event
- A TreeChangeEvent describing the event source,
the tree that changed, and the path to the branch of the
tree that changed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |