Package com.inductiveautomation.rm.base
Class RMPropertyChangeEvent
java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
java.beans.IndexedPropertyChangeEvent
com.inductiveautomation.rm.base.RMPropertyChangeEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- RMXString.CharsChange,- RMXString.StyleChange,- TextRun.CharsChange
An (Indexed) PropertyChangeEvent subclass to describe shape property changes. Index should be less than zero if not
 really an indexed property change.
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionRMPropertyChangeEvent(Object aParent, PropertyChangeEvent anEvent) Creates a shape property change event.RMPropertyChangeEvent(Object aSource, String aProperty, Object oldValue, Object newValue, int anIndex) Creates a property change event.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidDoes this change with given new/old values.static RMPropertyChangeEventgetEvent(EventObject anEvent) Returns the given EventObject as a shape property change event.Returns parent if this change is forwarded from a parent object.merge(RMPropertyChangeEvent anEvent) Attempts to merge the given property change into this property change.voidRedoes this change.toString()Simple to string.voidUndoes this change.Methods inherited from class java.beans.IndexedPropertyChangeEventgetIndexMethods inherited from class java.beans.PropertyChangeEventgetNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationIdMethods inherited from class java.util.EventObjectgetSource
- 
Constructor Details
- 
Method Details- 
getParentReturns parent if this change is forwarded from a parent object.
- 
getEventReturns the given EventObject as a shape property change event.
- 
undoChangepublic void undoChange()Undoes this change.
- 
redoChangepublic void redoChange()Redoes this change.
- 
doChangeDoes this change with given new/old values.
- 
mergeAttempts to merge the given property change into this property change.
- 
toStringSimple to string.- Overrides:
- toStringin class- PropertyChangeEvent
 
 
-