Package com.iizix.event
Class PropDisposeEvent
- java.lang.Object
- com.iizix.event.GEvent
- com.iizix.event.BubbleEvent
- com.iizix.event.PropDisposeEvent
- All Implemented Interfaces:
IPostEventProcessing
public class PropDisposeEvent extends BubbleEvent
Event indicating a property has been disposed of.- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class com.iizix.event.GEvent
GEvent.Operation
Field Summary
Fields inherited from class com.iizix.event.GEvent
PROP_ADDED, PROP_ATTR_CHANGED, PROP_CNR_ADDED, PROP_CNR_FOCUS, PROP_CNR_MOVED, PROP_CNR_RENAMED, PROP_DESIGNER_ASSET_CHANGED, PROP_DESIGNER_JAVA_CLASS_CHANGED, PROP_DESIGNER_JAVA_METHOD_RENAMED, PROP_DESIGNER_KSTRING, PROP_DESIGNER_VIEWER_UPDATE, PROP_DESIGNER_VS_REFERENCE, PROP_DISPOSED, PROP_FOCUS, PROP_MOVED_FROM, PROP_MOVED_TO, PROP_PROJECT_RENAMED, PROP_QUERY_DESIGNER_PROPS, PROP_REFRESH, PROP_REMOVED, PROP_RENAMED, PROP_REORDERED, PROP_RESOLVE_REFERENCES_DIRECT, PROP_VALUE_CHANGED, REMOTE
Constructor Summary
Constructors Constructor Description PropDisposeEvent(GProp<?> property, PropCnr parent, boolean isRemoteInduced)
Constructs a new property container event.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropCnr
getContainer()
Gets the parent container that owned the property.boolean
isClearCacheEvent()
Returns the state for a property container if this event is received in theonEventSelf
method as a helper for it would need to clear the property container cache.Methods inherited from class com.iizix.event.BubbleEvent
getOperations
Methods inherited from class com.iizix.event.GEvent
addPostProcessor, cancel, consume, getAlternateDestination, getEventID, getEventName, getEventName, getEventTarget, getOperation, getPostProcessors, getSender, getSource, getTrigger, isCancelled, isConsumed, isEventProcessed, isPropertyChange, isPropertyChange, isPropertyChange, isPropertyChangeIn, isPropertyChangeInTree, isRefreshEvent, isRemoteInduced, isVerifyEvent, paramString, send, send, sendSelf, setInitialProperty, setOperation, setProgressMonitor, toString
Constructor Detail
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:
GEvent
Method Detail
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 theonEventSelf
method as a helper for it would need to clear the property container cache.- Overrides:
isClearCacheEvent
in classGEvent
- Returns:
- true, always for this event.