Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.swing.text

Class Segment

java.lang.Object
|
+--javax.swing.text.Segment

All Implemented Interfaces:

Cloneable, CharacterIterator


public class Segment

extends Object

implements Cloneable, CharacterIterator

Method Summary

java.lang.Objectclone()

charcurrent()

charfirst()

intgetBeginIndex()

intgetEndIndex()

intgetIndex()

charlast()

charnext()

charprevious()

charsetIndex(int position)

java.lang.StringtoString()

Method Details

clone

public Object clone()


current

public char current()


first

public char first()


getBeginIndex

public int getBeginIndex()


getEndIndex

public int getEndIndex()


getIndex

public int getIndex()


last

public char last()


next

public char next()


previous

public char previous()


setIndex

public char setIndex(int position)

Parameters:


toString

public String toString()