|
org.openide.text 6.9.32 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openide.text.AttributedCharacters.AttributedCharacterIteratorImpl
public static class AttributedCharacters.AttributedCharacterIteratorImpl
Implementation of AttributedCharacterIterator interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface 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 CharacterIteratorclone in class Objectpublic char current()
current in interface CharacterIteratorpublic char first()
first in interface CharacterIteratorpublic int getBeginIndex()
getBeginIndex in interface CharacterIteratorpublic int getEndIndex()
getEndIndex in interface CharacterIteratorpublic int getIndex()
getIndex in interface CharacterIteratorpublic char last()
last in interface CharacterIteratorpublic char next()
next in interface CharacterIteratorpublic char previous()
previous in interface CharacterIteratorpublic char setIndex(int i)
setIndex in interface CharacterIteratorpublic Set getAllAttributeKeys()
getAllAttributeKeys in interface AttributedCharacterIteratorpublic Object getAttribute(AttributedCharacterIterator.Attribute att)
getAttribute in interface AttributedCharacterIteratorpublic Map getAttributes()
getAttributes in interface AttributedCharacterIteratorpublic int getRunLimit()
getRunLimit in interface AttributedCharacterIteratorpublic int getRunLimit(AttributedCharacterIterator.Attribute att)
getRunLimit in interface AttributedCharacterIteratorpublic int getRunLimit(Set attributes)
getRunLimit in interface AttributedCharacterIteratorpublic int getRunStart()
getRunStart in interface AttributedCharacterIteratorpublic int getRunStart(AttributedCharacterIterator.Attribute att)
getRunStart in interface AttributedCharacterIteratorpublic int getRunStart(Set attributes)
getRunStart in interface AttributedCharacterIterator
|
org.openide.text 6.9.32 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||