javax.swing.text
Class GapContent.UndoPosRef
java.lang.Object
javax.swing.text.GapContent.UndoPosRef
- Enclosing class:
- GapContent
- final class GapContent.UndoPosRef
- extends Object
Used to hold a reference to a Mark that is being reset as the
result of removing from the content.
Method Summary |
protected void |
resetLocation(int endOffset,
int g1)
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
- Previous Offset of rec.
rec
protected GapContent.MarkData rec
- Mark to reset offset.
GapContent.UndoPosRef
GapContent.UndoPosRef(GapContent.MarkData rec)
resetLocation
protected void resetLocation(int endOffset,
int g1)
- Resets the location of the Position to the offset when the
receiver was instantiated.
- Parameters:
endOffset
- end location of inserted string.g1
- resulting end of gap.