Package com.ibm.icu.dev.tool.ime.indic
Class IndicInputMethodImpl.ACIText
java.lang.Object
com.ibm.icu.dev.tool.ime.indic.IndicInputMethodImpl.ACIText
- All Implemented Interfaces:
Cloneable
,AttributedCharacterIterator
,CharacterIterator
- Enclosing class:
IndicInputMethodImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.text.AttributedCharacterIterator
AttributedCharacterIterator.Attribute
-
Field Summary
FieldsFields inherited from interface java.text.CharacterIterator
DONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate char
_setIndex
(int i) This is always called with valid i ( 0 invalid input: '<' i invalid input: '<'= text.length )clone()
char
current()
char
first()
int
int
int
getIndex()
int
int
getRunLimit
(AttributedCharacterIterator.Attribute attribute) int
getRunLimit
(Set attributes) int
int
getRunStart
(AttributedCharacterIterator.Attribute attribute) int
getRunStart
(Set attributes) char
last()
char
next()
char
previous()
char
setIndex
(int position)
-
Field Details
-
text
private char[] text -
committed
private int committed -
index
private int index
-
-
Constructor Details
-
ACIText
ACIText(char[] chArray, int offset, int length, int committed)
-
-
Method Details
-
first
public char first()- Specified by:
first
in interfaceCharacterIterator
-
last
public char last()- Specified by:
last
in interfaceCharacterIterator
-
current
public char current()- Specified by:
current
in interfaceCharacterIterator
-
next
public char next()- Specified by:
next
in interfaceCharacterIterator
-
previous
public char previous()- Specified by:
previous
in interfaceCharacterIterator
-
setIndex
public char setIndex(int position) - Specified by:
setIndex
in interfaceCharacterIterator
-
getBeginIndex
public int getBeginIndex()- Specified by:
getBeginIndex
in interfaceCharacterIterator
-
getEndIndex
public int getEndIndex()- Specified by:
getEndIndex
in interfaceCharacterIterator
-
getIndex
public int getIndex()- Specified by:
getIndex
in interfaceCharacterIterator
-
clone
- Specified by:
clone
in interfaceCharacterIterator
- Overrides:
clone
in classObject
-
getRunStart
public int getRunStart()- Specified by:
getRunStart
in interfaceAttributedCharacterIterator
-
getRunStart
- Specified by:
getRunStart
in interfaceAttributedCharacterIterator
-
getRunStart
- Specified by:
getRunStart
in interfaceAttributedCharacterIterator
-
getRunLimit
public int getRunLimit()- Specified by:
getRunLimit
in interfaceAttributedCharacterIterator
-
getRunLimit
- Specified by:
getRunLimit
in interfaceAttributedCharacterIterator
-
getRunLimit
- Specified by:
getRunLimit
in interfaceAttributedCharacterIterator
-
getAttributes
- Specified by:
getAttributes
in interfaceAttributedCharacterIterator
-
getAttribute
- Specified by:
getAttribute
in interfaceAttributedCharacterIterator
-
getAllAttributeKeys
- Specified by:
getAllAttributeKeys
in interfaceAttributedCharacterIterator
-
_setIndex
private char _setIndex(int i) This is always called with valid i ( 0 invalid input: '<' i invalid input: '<'= text.length )
-