Package snap.text
Class TextBlockUtils.CharsChange
java.lang.Object
snap.props.PropChange
snap.text.TextBlockUtils.CharsChange
- Enclosing class:
- TextBlockUtils
A property change event for addChars/removeChars.
-
Nested Class Summary
Nested classes/interfaces inherited from class snap.props.PropChange
PropChange.DoChange
-
Constructor Summary
ConstructorDescriptionCharsChange
(TextBlock aTextBlock, Object oldV, Object newV, int anInd) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Does this change with given new/old values.Returns the new value.Returns the old value.merge
(PropChange anEvent) Attempts to merge the given property change into this property change.Methods inherited from class snap.props.PropChange
doChange, getIndex, getPropertyName, getPropName, getSource, redoChange, toString, undoChange
-
Constructor Details
-
CharsChange
Constructor.
-
-
Method Details
-
getOldValue
Description copied from class:PropChange
Returns the old value.- Overrides:
getOldValue
in classPropChange
-
getNewValue
Description copied from class:PropChange
Returns the new value.- Overrides:
getNewValue
in classPropChange
-
doChange
Description copied from class:PropChange
Does this change with given new/old values.- Overrides:
doChange
in classPropChange
-
merge
Description copied from class:PropChange
Attempts to merge the given property change into this property change.- Overrides:
merge
in classPropChange
-