Class ParentCnrNameEvent

  • All Implemented Interfaces:

    public class ParentCnrNameEvent
    extends SinkEvent
    The event that indicates that a property container name has been changed. This event is sent to all children of the renamed container in a sinking non-bubbling way.

    Note: This event IS NOT SENT if the container doesn't have a parent, i.e. is not "attached" to a tree.

    Christopher Mindus
    • Constructor Detail

      • ParentCnrNameEvent

        public ParentCnrNameEvent​(PropCnr container,
                                  Atom oldAtom,
                                  boolean isRemoteInduced)
        Constructs a new property event.
        container - The property container instance being changed or initialized.
        oldAtom - The old atom or null if previously uninitialized.
        isRemoteInduced - Flag indicating this change is induced from a remote party.
    • Method Detail

      • getOldAtom

        public Atom getOldAtom()
        Gets the old Atom.
        The old Atom or null if previously uninitialized.
      • isVerifyEvent

        public boolean isVerifyEvent()
        Returns if this event is a verify event for a container that processes verification.
        isVerifyEvent in class GEvent
        true always.
      • paramString

        protected java.lang.StringBuilder paramString​(java.lang.StringBuilder buf)
        Returns the parameter string representing the state of this event. This string is useful for debugging. Super classes adds extra information to the string by preceding it with a comma followed by the extra information.
        paramString in class GEvent
        buf - The StringBuilder to append the string to.
        The StringBuilder, i.e. the buf input parameter.