Interface ConstraintList.IModificationListener

  • Enclosing class:
    ConstraintList

    protected static interface ConstraintList.IModificationListener
    A listener to be informed if the underlying list changes.
    Author:
    Holger Eichelberger
    • Method Detail

      • notifyAdded

        void notifyAdded​(Constraint constraint,
                         ConstraintList.Node node)
        Is called when a new node has been added for constraint. node may already be linked into the list.
        Parameters:
        constraint - the constraint
        node - the node
      • notifyRemoved

        void notifyRemoved​(Constraint constraint,
                           ConstraintList.Node node)
        Is called when a new node is being removed through removing constraint. node may already be cleared and must not contain valid information.
        Parameters:
        constraint - the constraint
        node - the node
      • notifyRemovedAll

        void notifyRemovedAll()
        Is called when all nodes have been removed at once.