Class ParentCnrAddedEvent

  • All Implemented Interfaces:
    IPostEventProcessing

    public class ParentCnrAddedEvent
    extends SinkEvent
    Event used to send to all children of an added container in a sinking non-bubbling form.
    Author:
    Christopher Mindus
    • Constructor Detail

      • ParentCnrAddedEvent

        public ParentCnrAddedEvent​(int eventID,
                                   PropCnr addedContainer,
                                   boolean isRemoteInduced)
        Constructs a new added event for a property container that is added.
        Parameters:
        eventID - The event ID, see GEvent.PROP_*.
        addedContainer - The property container instance being moved.
        isRemoteInduced - Flag indicating this change is induced from a remote party.
        See Also:
        GEvent
    • Method Detail

      • getContainer

        public PropCnr getContainer()
        Gets the container that is added or removed (same as getSource()).