|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kiwi.event.HierarchicalAssociationSupport
A support object for generating HierarchicalSssociationEvent
s.
HierarchicalAssociationEvent
Constructor Summary | |
HierarchicalAssociationSupport(Object source)
Construct a new HierarchicalAssociationSupport object. |
Method Summary | |
void |
addHierarchicalAssociationListener(HierarchicalAssociationListener listener)
Add a HierarchicalAssociationListener to this object's list
of listeners. |
void |
fireNodeAdded(Object node,
int index,
Object parent)
Fire a node added event. |
void |
fireNodeChanged(Object node)
Fire a node changed event. |
void |
fireNodeRemoved(Object node,
int index,
Object parent)
Fire a node removed event. |
void |
fireNodeStructureChanged(Object node)
Fire a node structure changed event. |
void |
removeHierarchicalAssociationListener(HierarchicalAssociationListener listener)
Remove a HierarchicalAssociationListener from this object's
list of listeners. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public HierarchicalAssociationSupport(Object source)
HierarchicalAssociationSupport
object.source
- The owner of this object (and the source of the events that
will be generated by it).Method Detail |
public void addHierarchicalAssociationListener(HierarchicalAssociationListener listener)
HierarchicalAssociationListener
to this object's list
of listeners.listener
- The listener to add.public void removeHierarchicalAssociationListener(HierarchicalAssociationListener listener)
HierarchicalAssociationListener
from this object's
list of listeners.listener
- The listener to remove.public void fireNodeAdded(Object node, int index, Object parent)
node
- The node being added.index
- The offset at which this node will be inserted in the parent
object's list of children.parent
- The object to which this child is being added.public void fireNodeRemoved(Object node, int index, Object parent)
node
- The node being removed.index
- The offset of the node within its parent object's list of
children.The
- object from which this child is being removed.public void fireNodeChanged(Object node)
node
- The node that changed.public void fireNodeStructureChanged(Object node)
node
- The node that is the root of the subtree that changed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |