Interface ConstraintList.IModificationListener
-
- Enclosing class:
- ConstraintList
protected static interface ConstraintList.IModificationListenerA listener to be informed if the underlying list changes.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyAdded(Constraint constraint, ConstraintList.Node node)Is called when a new node has been added forconstraint.voidnotifyRemoved(Constraint constraint, ConstraintList.Node node)Is called when a new node is being removed through removingconstraint.voidnotifyRemovedAll()Is called when all nodes have been removed at once.
-
-
-
Method Detail
-
notifyAdded
void notifyAdded(Constraint constraint, ConstraintList.Node node)
Is called when a new node has been added forconstraint.nodemay already be linked into the list.- Parameters:
constraint- the constraintnode- the node
-
notifyRemoved
void notifyRemoved(Constraint constraint, ConstraintList.Node node)
Is called when a new node is being removed through removingconstraint.nodemay already be cleared and must not contain valid information.- Parameters:
constraint- the constraintnode- the node
-
notifyRemovedAll
void notifyRemovedAll()
Is called when all nodes have been removed at once.
-
-