javax.swing.text
Class JTextComponent.AccessibleJTextComponent.IndexedSegment

java.lang.Object
  extended byjavax.swing.text.Segment
      extended byjavax.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.
 
Fields inherited from class javax.swing.text.Segment
array, count, offset
 
Fields inherited from interface java.text.CharacterIterator
DONE
 
Constructor Summary
private JTextComponent.AccessibleJTextComponent.IndexedSegment()
           
 
Methods inherited from class javax.swing.text.Segment
clone, current, first, getBeginIndex, getEndIndex, getIndex, isPartialReturn, last, next, previous, setIndex, setPartialReturn, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

modelOffset

public int modelOffset
Offset into the model that the position represents.

Constructor Detail

JTextComponent.AccessibleJTextComponent.IndexedSegment

private JTextComponent.AccessibleJTextComponent.IndexedSegment()