org.zaval.data.event
Interface TreeListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- LwTree, LwTreeGrid
- public interface TreeListener
- extends java.util.EventListener
This listener interface is used to receive tree model originated events.
|
Method Summary |
void |
itemInserted(java.lang.Object target,
Item item)
Invoked when the item has been inserted as a member of the source tree. |
void |
itemModified(java.lang.Object target,
Item item)
Invoked when source tree item has been modified. |
void |
itemRemoved(java.lang.Object target,
Item item)
Invoked when the item has been removed from the source tree. |
itemInserted
public void itemInserted(java.lang.Object target,
Item item)
- Invoked when the item has been inserted as a member of the source tree.
- Parameters:
target - the specified tree model.item - the specified item that has been inserted into the tree model.
itemRemoved
public void itemRemoved(java.lang.Object target,
Item item)
- Invoked when the item has been removed from the source tree.
- Parameters:
target - the specified tree model.item - the specified item that has been removed from the tree model.
itemModified
public void itemModified(java.lang.Object target,
Item item)
- Invoked when source tree item has been modified.
- Parameters:
target - the specified tree model.item - the specified item that has been modified.
|