Class ParentCnrNameEvent

All Implemented Interfaces:
IPostEventProcessing

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.

Author:
Christopher Mindus
  • Constructor Details

    • ParentCnrNameEvent

      public ParentCnrNameEvent(PropCnr container, Atom oldAtom, boolean isRemoteInduced)
      Constructs a new property event.
      Parameters:
      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 Details

    • getOldAtom

      public Atom getOldAtom()
      Gets the old Atom.
      Returns:
      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.
      Overrides:
      isVerifyEvent in class GEvent
      Returns:
      true always.
    • paramString

      protected StringBuilder paramString(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.
      Overrides:
      paramString in class GEvent
      Parameters:
      buf - The StringBuilder to append the string to.
      Returns:
      The StringBuilder, i.e. the buf input parameter.