Class PropDisposeEvent

All Implemented Interfaces:
IPostEventProcessing

public class PropDisposeEvent extends BubbleEvent
Event indicating a property has been disposed of.
Author:
Christopher Mindus
  • Constructor Details

    • PropDisposeEvent

      public PropDisposeEvent(GProp<?> property, PropCnr parent, boolean isRemoteInduced)
      Constructs a new property container event.
      Parameters:
      property - The property being disposed of.
      parent - The parent property (may be null).
      isRemoteInduced - Flag indicating this change is induced from a remote party.
      See Also:
  • Method Details

    • getContainer

      public PropCnr getContainer()
      Gets the parent container that owned the property.
      Returns:
      The parent container, may be null if no parent exists when the property was disposed of.
    • isClearCacheEvent

      public boolean isClearCacheEvent()
      Returns the state for a property container if this event is received in the onEventSelf method as a helper for it would need to clear the property container cache.
      Overrides:
      isClearCacheEvent in class GEvent
      Returns:
      true, always for this event.