javax.swing.text
Class StringContent.UndoPosRef
java.lang.Object
javax.swing.text.StringContent.UndoPosRef
- Enclosing class:
- StringContent
- final class StringContent.UndoPosRef
- extends Object
Used to hold a reference to a Position that is being reset as the
result of removing from the content.
Method Summary |
protected void |
resetLocation()
Resets the location of the Position to the offset when the
receiver was instantiated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
undoLocation
protected int undoLocation
- Location to reset to when resetLocatino is invoked.
rec
protected StringContent.PosRec rec
- Position to reset offset.
StringContent.UndoPosRef
StringContent.UndoPosRef(StringContent.PosRec rec)
resetLocation
protected void resetLocation()
- Resets the location of the Position to the offset when the
receiver was instantiated.