|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.text.AttributedCharacters.AttributedCharacterIteratorImpl
Implementation of AttributedCharacterIterator interface.
Nested Class Summary |
Nested classes inherited from class java.text.AttributedCharacterIterator |
AttributedCharacterIterator.Attribute |
Field Summary | |
protected char[] |
chars
Characters to iterate. |
protected Color[] |
colors
Color for each character. |
protected int |
current
Current position. |
protected Font[] |
fonts
Font for each character. |
protected int[] |
runLimit
Limit indices of continous ... |
protected int[] |
runStart
Start indices of continuous blocks of text with the same font. |
protected Set |
singleton
Singleton. |
Fields inherited from interface java.text.CharacterIterator |
DONE |
Constructor Summary | |
AttributedCharacters.AttributedCharacterIteratorImpl(char[] chars,
Font[] fonts,
Color[] colors,
int[] rs,
int[] rl)
|
Method Summary | |
Object |
clone()
|
char |
current()
|
char |
first()
|
Set |
getAllAttributeKeys()
|
Object |
getAttribute(AttributedCharacterIterator.Attribute att)
|
Map |
getAttributes()
|
int |
getBeginIndex()
|
int |
getEndIndex()
|
int |
getIndex()
|
int |
getRunLimit()
|
int |
getRunLimit(AttributedCharacterIterator.Attribute att)
|
int |
getRunLimit(Set attributes)
|
int |
getRunStart()
|
int |
getRunStart(AttributedCharacterIterator.Attribute att)
|
int |
getRunStart(Set attributes)
|
char |
last()
|
char |
next()
|
char |
previous()
|
char |
setIndex(int i)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int current
protected char[] chars
protected Font[] fonts
protected Color[] colors
protected int[] runStart
protected int[] runLimit
protected Set singleton
Constructor Detail |
public AttributedCharacters.AttributedCharacterIteratorImpl(char[] chars, Font[] fonts, Color[] colors, int[] rs, int[] rl)
Method Detail |
public Object clone()
clone
in interface CharacterIterator
public char current()
current
in interface CharacterIterator
public char first()
first
in interface CharacterIterator
public int getBeginIndex()
getBeginIndex
in interface CharacterIterator
public int getEndIndex()
getEndIndex
in interface CharacterIterator
public int getIndex()
getIndex
in interface CharacterIterator
public char last()
last
in interface CharacterIterator
public char next()
next
in interface CharacterIterator
public char previous()
previous
in interface CharacterIterator
public char setIndex(int i)
setIndex
in interface CharacterIterator
public Set getAllAttributeKeys()
getAllAttributeKeys
in interface AttributedCharacterIterator
public Object getAttribute(AttributedCharacterIterator.Attribute att)
getAttribute
in interface AttributedCharacterIterator
public Map getAttributes()
getAttributes
in interface AttributedCharacterIterator
public int getRunLimit()
getRunLimit
in interface AttributedCharacterIterator
public int getRunLimit(AttributedCharacterIterator.Attribute att)
getRunLimit
in interface AttributedCharacterIterator
public int getRunLimit(Set attributes)
getRunLimit
in interface AttributedCharacterIterator
public int getRunStart()
getRunStart
in interface AttributedCharacterIterator
public int getRunStart(AttributedCharacterIterator.Attribute att)
getRunStart
in interface AttributedCharacterIterator
public int getRunStart(Set attributes)
getRunStart
in interface AttributedCharacterIterator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |