Class TextRun.CharsChange
- java.lang.Object
-
- java.util.EventObject
-
- java.beans.PropertyChangeEvent
-
- java.beans.IndexedPropertyChangeEvent
-
- com.inductiveautomation.rm.base.RMPropertyChangeEvent
-
- com.inductiveautomation.snap.text.TextRun.CharsChange
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- TextRun
public class TextRun.CharsChange extends RMPropertyChangeEvent
A property change event for addChars/removeChars.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CharsChange(java.lang.Object oldV, java.lang.Object newV, int anInd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doChange(java.lang.Object oldValue, java.lang.Object newValue)
Does this change with given new/old values.java.lang.CharSequence
getNewValue()
java.lang.CharSequence
getOldValue()
RMPropertyChangeEvent
merge(RMPropertyChangeEvent anEvent)
Attempts to merge the given property change into this property change.-
Methods inherited from class com.inductiveautomation.rm.base.RMPropertyChangeEvent
getEvent, getParent, redoChange, toString, undoChange
-
-
-
-
Method Detail
-
getOldValue
public java.lang.CharSequence getOldValue()
- Overrides:
getOldValue
in classjava.beans.PropertyChangeEvent
-
getNewValue
public java.lang.CharSequence getNewValue()
- Overrides:
getNewValue
in classjava.beans.PropertyChangeEvent
-
doChange
public void doChange(java.lang.Object oldValue, java.lang.Object newValue)
Description copied from class:RMPropertyChangeEvent
Does this change with given new/old values.- Overrides:
doChange
in classRMPropertyChangeEvent
-
merge
public RMPropertyChangeEvent merge(RMPropertyChangeEvent anEvent)
Description copied from class:RMPropertyChangeEvent
Attempts to merge the given property change into this property change.- Overrides:
merge
in classRMPropertyChangeEvent
-
-