javax.swing.text
Class JTextComponent.AccessibleJTextComponent.IndexedSegment
java.lang.Object
javax.swing.text.Segment
javax.swing.text.JTextComponent.AccessibleJTextComponent.IndexedSegment
- All Implemented Interfaces:
- CharacterIterator, Cloneable
- Enclosing class:
- JTextComponent.AccessibleJTextComponent
- private class JTextComponent.AccessibleJTextComponent.IndexedSegment
- extends Segment
IndexedSegment extends Segment adding the offset into the
the model the Segment
was asked for.
Field Summary |
int |
modelOffset
Offset into the model that the position represents. |
Methods inherited from class javax.swing.text.Segment |
clone, current, first, getBeginIndex, getEndIndex, getIndex, isPartialReturn, last, next, previous, setIndex, setPartialReturn, toString |
modelOffset
public int modelOffset
- Offset into the model that the position represents.
JTextComponent.AccessibleJTextComponent.IndexedSegment
private JTextComponent.AccessibleJTextComponent.IndexedSegment()