Package com.iizix.event
Class PropAttrEvent
java.lang.Object
com.iizix.event.GEvent
com.iizix.event.BubbleEvent
com.iizix.event.PropAttrEvent
- All Implemented Interfaces:
- IPostEventProcessing
- Direct Known Subclasses:
- PropErrorAttrEvent
The event that indicates that a property attribute has been set for the first time or when it has been changed.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class com.iizix.event.GEvent- GEvent.Operation
- Field SummaryFieldsModifier and TypeFieldDescription- static final intProperty attribute: error, event value = PropError or null, event class PropErrorAttrEvent also contains the "errorID".- static final intProperty attribute: errored property name, event value = String or null.- static final intProperty attribute: extends final, event value = Boolean.- static final intProperty attribute: extends property name, event value = String or null.- static final intProperty attribute: extends override inhibit, event value = Atom or null.- static final intProperty attribute: extends private, event value = Boolean.- static final intProperty attribute: nullable, event value = Boolean.- static final intProperty attribute: private, event value = Boolean.- static final intProperty attribute: private change event, event value = Boolean.- static final intProperty attribute: read-only, event value = Boolean.- static final intProperty attribute: VSRelativeReference change of mask value, event value = Integer.- 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 SummaryConstructorsConstructorDescription- PropAttrEvent- (GProp<?> source, int attribute, Object newValue, Object oldValue, boolean isRemoteInduced) Constructs a new property event.
- Method SummaryModifier and TypeMethodDescription- intGets the attribute being changed, see the originating class for its values, normally values such as "PROP_ATTR_*".Gets the new value.Gets the old value.- booleanReturns the state for a property container if this event is received in the- onEventSelfmethod as a helper for it would need to clear the property container cache.- booleanReturns if this event is a verify event for a container that processes verification.- protected StringBuilder- paramString- (StringBuilder buf) Returns the parameter string representing the state of this event.- 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, send, send, sendSelf, setInitialProperty, setOperation, setProgressMonitor, toString
- Field Details- PROP_ATTR_READ_ONLYpublic static final int PROP_ATTR_READ_ONLYProperty attribute: read-only, event value = Boolean.- See Also:
 
- PROP_ATTR_PRIVATEpublic static final int PROP_ATTR_PRIVATEProperty attribute: private, event value = Boolean.- See Also:
 
- PROP_ATTR_NULLABLEpublic static final int PROP_ATTR_NULLABLEProperty attribute: nullable, event value = Boolean.- See Also:
 
- PROP_ATTR_PRIVATE_CHANGE_EVENTpublic static final int PROP_ATTR_PRIVATE_CHANGE_EVENTProperty attribute: private change event, event value = Boolean.- See Also:
 
- PROP_ATTR_ERRORED_NAMEpublic static final int PROP_ATTR_ERRORED_NAMEProperty attribute: errored property name, event value = String or null.- See Also:
 
- PROP_ATTR_ERRORpublic static final int PROP_ATTR_ERRORProperty attribute: error, event value = PropError or null, event class PropErrorAttrEvent also contains the "errorID".- See Also:
 
- PROP_ATTR_EXTENDS_NAMEpublic static final int PROP_ATTR_EXTENDS_NAMEProperty attribute: extends property name, event value = String or null.- See Also:
 
- PROP_ATTR_EXTENDS_PRIVATEpublic static final int PROP_ATTR_EXTENDS_PRIVATEProperty attribute: extends private, event value = Boolean.- See Also:
 
- PROP_ATTR_EXTENDS_FINALpublic static final int PROP_ATTR_EXTENDS_FINALProperty attribute: extends final, event value = Boolean.- See Also:
 
- PROP_ATTR_EXTENDS_OVERRIDEpublic static final int PROP_ATTR_EXTENDS_OVERRIDEProperty attribute: extends override inhibit, event value = Atom or null.- See Also:
 
- PROP_ATTR_VSRELATIVE_MASKpublic static final int PROP_ATTR_VSRELATIVE_MASKProperty attribute: VSRelativeReference change of mask value, event value = Integer.- See Also:
 
 
- Constructor Details- PropAttrEventpublic PropAttrEvent- (GProp<?> source, int attribute, Object newValue, Object oldValue, boolean isRemoteInduced) Constructs a new property event.- Parameters:
- source- The source property instance being changed or initialized.
- attribute- The attribute being changed.
- newValue- The new value.
- oldValue- The old value or null if previously uninitialized.
- isRemoteInduced- Flag indicating this change is induced from a remote party.
 
 
- Method Details- getAttributepublic int getAttribute()Gets the attribute being changed, see the originating class for its values, normally values such as "PROP_ATTR_*".
- getNewValueGets the new value.- Returns:
- the new value, could be null.
 
- getOldValueGets the old value.- Returns:
- old value or null if previously uninitialized.
 
- isClearCacheEventpublic boolean isClearCacheEvent()Returns the state for a property container if this event is received in the- onEventSelfmethod as a helper for it would need to clear the property container cache.- Overrides:
- isClearCacheEventin class- GEvent
- Returns:
- true for error, extends and VS-relative., always for this event.
 
- isVerifyEventpublic boolean isVerifyEvent()Returns if this event is a verify event for a container that processes verification.- Overrides:
- isVerifyEventin class- GEvent
- Returns:
- true always.
 
- paramStringReturns 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.- Overrides:
- paramStringin class- GEvent
- Parameters:
- buf- The StringBuilder to append the string to.
- Returns:
- The StringBuilder, i.e. the bufinput parameter.