Package com.iizix.event
Class BubbleEvent
java.lang.Object
com.iizix.event.GEvent
com.iizix.event.BubbleEvent
- All Implemented Interfaces:
IPostEventProcessing
- Direct Known Subclasses:
CommonDesignerEvent
,KStringEvent
,PropAttrEvent
,PropCnrEvent
,PropCopyEvent
,PropDisposeEvent
,PropFocusEvent
,PropMoveEvent
,PropNameEvent
,PropReorderEvent
,PropValueEvent
,RemoteEvent
Abstract class extending the base
GEvent
to set the event propagation to sinking, i.e. an event send from child to parent.Sinking events are typically used when a parent wishes to inform children of something, or by means of a "messaging system" to let e.g. an event collect information from potential event listeners, a good example would be QueryReferencesEvent
, and ResolveReferencesEvent.
- 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
ConstructorDescriptionBubbleEvent
(GProp<?> source, int eventID, boolean isRemoteInduced) Constructs the generic sink event with specified originator.Method Summary
Modifier and TypeMethodDescriptionGets the Operations order describing what Operation the property that receives the event should process.Methods inherited from class com.iizix.event.GEvent
addPostProcessor, cancel, consume, getAlternateDestination, getEventID, getEventName, getEventName, getEventTarget, getOperation, getPostProcessors, getSender, getSource, getTrigger, isCancelled, isClearCacheEvent, isConsumed, isEventProcessed, isPropertyChange, isPropertyChange, isPropertyChange, isPropertyChangeIn, isPropertyChangeInTree, isRefreshEvent, isRemoteInduced, isVerifyEvent, paramString, send, send, sendSelf, setInitialProperty, setOperation, setProgressMonitor, toString
Constructor Details
BubbleEvent
Constructs the generic sink event with specified originator.- Parameters:
source
- The source object.eventID
- The event ID, seeGEvent.PROP_*
.isRemoteInduced
- Flag indicating this change is induced from a remote party.
Method Details
getOperations
Gets the Operations order describing what Operation the property that receives the event should process. This Operations order defines that the event will be bubbling, i.e. sent from child to parent.The event Operations in order are: SELF, LISTENERS, PARENT.
- Specified by:
getOperations
in classGEvent
- Returns:
- The order of the Operations, per Event-implementing class dependent, normally a static final array.