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 Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionRMPropertyChangeEvent(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 Summary
Modifier 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 IndexedPropertyChangeEvent
getIndexMethods inherited from class PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationIdMethods inherited from class EventObject
getSource
-
Constructor Details
-
RMPropertyChangeEvent
-
RMPropertyChangeEvent
Creates a shape property change event.
-
-
Method Details
-
getParent
Returns parent if this change is forwarded from a parent object. -
getEvent
Returns the given EventObject as a shape property change event. -
undoChange
public void undoChange()Undoes this change. -
redoChange
public void redoChange()Redoes this change. -
doChange
-
merge
Attempts to merge the given property change into this property change. -
toString
-