swingwtx.swing.text
Class Segment
java.lang.Object
swingwtx.swing.text.Segment
- All Implemented Interfaces:
- java.text.CharacterIterator, java.lang.Cloneable
- public class Segment
- extends java.lang.Object
- implements java.lang.Cloneable, java.text.CharacterIterator
Fields inherited from interface java.text.CharacterIterator |
DONE |
Constructor Summary |
Segment()
|
Segment(char[] array,
int offset,
int count)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
array
public char[] array
offset
public int offset
count
public int count
Segment
public Segment()
Segment
public Segment(char[] array,
int offset,
int count)
setPartialReturn
public void setPartialReturn(boolean p)
isPartialReturn
public boolean isPartialReturn()
toString
public java.lang.String toString()
first
public char first()
- Specified by:
first
in interface java.text.CharacterIterator
last
public char last()
- Specified by:
last
in interface java.text.CharacterIterator
current
public char current()
- Specified by:
current
in interface java.text.CharacterIterator
next
public char next()
- Specified by:
next
in interface java.text.CharacterIterator
previous
public char previous()
- Specified by:
previous
in interface java.text.CharacterIterator
setIndex
public char setIndex(int position)
- Specified by:
setIndex
in interface java.text.CharacterIterator
getBeginIndex
public int getBeginIndex()
- Specified by:
getBeginIndex
in interface java.text.CharacterIterator
getEndIndex
public int getEndIndex()
- Specified by:
getEndIndex
in interface java.text.CharacterIterator
getIndex
public int getIndex()
- Specified by:
getIndex
in interface java.text.CharacterIterator
clone
public java.lang.Object clone()
- Specified by:
clone
in interface java.text.CharacterIterator