Save This Page
Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
class: JTextComponent.AccessibleJTextComponent.IndexedSegment [javadoc | source]
java.lang.Object
   javax.swing.text.Segment
      javax.swing.text.JTextComponent$AccessibleJTextComponent$IndexedSegment

All Implemented Interfaces:
    CharSequence, CharacterIterator, Cloneable

IndexedSegment extends Segment adding the offset into the the model the Segment was asked for.
Field Summary
public  int modelOffset    Offset into the model that the position represents. 
Fields inherited from javax.swing.text.Segment:
array,  offset,  count
Methods from javax.swing.text.Segment:
charAt,   clone,   current,   first,   getBeginIndex,   getEndIndex,   getIndex,   isPartialReturn,   last,   length,   next,   previous,   setIndex,   setPartialReturn,   subSequence,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait