public abstract class BubbleEvent extends GEvent
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.
GEvent.Operation
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 and Description |
---|
BubbleEvent(GProp<?> source,
int eventID,
boolean isRemoteInduced)
Constructs the generic sink event with specified originator.
|
Modifier and Type | Method and Description |
---|---|
GEvent.Operation[] |
getOperations()
Gets the Operations order describing what Operation the property that receives the event should process.
|
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
public BubbleEvent(GProp<?> source, int eventID, boolean isRemoteInduced)
source
- The source object.eventID
- The event ID, see GEvent.PROP_*
.isRemoteInduced
- Flag indicating this change is induced from a remote party.public GEvent.Operation[] getOperations()
The event Operations in order are: SELF, LISTENERS, PARENT.
getOperations
in class GEvent
iizi® is a registered trademark of Mindus SARL. © Copyright 2019 Mindus SARL. All rights reserved.