PROP_DISPOSED

PROP_MOVED_FROM

public static final int PROP_MOVED_FROM

Event ID for property moved from container event. This event is triggered when
the property already has been moved from the original container, and to the
destination. This event is sent from the moved container and send upwards in the
property hierarchy.

PROP_MOVED_TO

public static final int PROP_MOVED_TO

Event ID for property moved to container event. This event is triggered when
the property already has been moved from the original container, and to the
destination. This event is sent from the moved property already located in the
moved-to-container and send upwards in the property hierarchy. Thus a property
listening for move events should process this Moved-To event and not the Moved-From
event.

PROP_DESIGNER_VS_REFERENCE

public static final int PROP_DESIGNER_VS_REFERENCE

Event ID for VSReference resolving in conjunction with VSRelativeReference (only in the Designer).
The event is fired when a VSReference is resolved or broken, causing VSRelativeReference instances
to re-check their state.

PROP_DESIGNER_ASSET_CHANGED

public static final int PROP_DESIGNER_ASSET_CHANGED

Event ID for Asset files changes in conjunction with AssetReference (only in the Designer).
The event is fired when a file property container notices a change of the file or if it removed,
to re-check their state.

PROP_DESIGNER_JAVA_CLASS_CHANGED

public static final int PROP_DESIGNER_JAVA_CLASS_CHANGED

Event ID for Java Class changes in conjunction with ClassReference (only in the Designer).
The event is fired when a Java source has been compiled and parsed, or if it has been
reconciled. All annotations are up-to-date when the event is received.

PROP_DESIGNER_JAVA_METHOD_RENAMED

public static final int PROP_DESIGNER_JAVA_METHOD_RENAMED

Event ID for Java Method renamed in conjunction with ClassReference (only in the Designer).
The event is fired when a Java source has been compiled and parsed, or if it has been
reconciled. All annotations are up-to-date when the event is received.

paramString

Returns the parameter string representing the state of this event.
This string is useful for debugging. Super classes adds extra information
to the string by preceding it with a comma followed by the extra information.

sendSelf

Sends this event to the property itself in question, with "safe" processing,
i.e. that potential exceptions are caught and logged. The method called for the
property (that might be altered using getAlternateDestination) is
onEventSelf rather than onEvent.

This method is intended to be called from GProp.onEvent(event).
Do not call this method.

Parameters:

senderAndReceiver - The sender and received property.

operation - The Operation.

operationIndex - The current index in the Operation array provided by this event's
getOperations() method.

getAlternateDestination

Gets the alternate property destination for an event about to be sent.
The default is to return the same destination, but subclasses can choose to
return another property that would be "more suitable" to receive the event,
i.e. the property that would really do the processing. This enables performance
enhancements to be done for a particular event.

This method also enables an event to skip sending the event to a property by
returning null in this method.

Subclasses can override this method to provide fine-tuned behavior.

Parameters:

destination - The destination property.

operation - The Operation.

operationIndex - The current index in the Operation array provided by this event's
getOperations() method.

Returns:

destination by default. If null is returned,
this event will not be sent.

addPostProcessor

Adds a post-event processor that will be called when the event has completed its notification process.
This method can be called at any time during the event notification phase, but calls to this method
when post-processing is executing is not going to change the post-processors, thus will the
postProcessor not be called.

Note: the post-processors are called no matter if the event has been canceled, so the processor may have
to check the cancel state.

Calling this method with the same postProcessor more than once does not add it again.

setInitialProperty

Assigns the initial sender property that should perform post processing of events.
This method should only be called from the initial GProp that sends the event the first time.
This is done from the GProp.onEvent method and should not be called elsewhere.