|
|||||||||
| Home >> All >> cgsuite >> [ plugin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
cgsuite.plugin
Class StyledTextOutput.STOCharacterIterator

java.lang.Objectcgsuite.plugin.StyledTextOutput.STOCharacterIterator
- All Implemented Interfaces:
- java.text.AttributedCharacterIterator, java.text.CharacterIterator, java.lang.Cloneable
- Enclosing class:
- StyledTextOutput
- private static class StyledTextOutput.STOCharacterIterator
- extends java.lang.Object
- implements java.text.AttributedCharacterIterator
- extends java.lang.Object
| Nested Class Summary |
| Nested classes inherited from class java.text.AttributedCharacterIterator |
java.text.AttributedCharacterIterator.Attribute |
| Field Summary | |
(package private) java.util.Set |
attributeKeys
|
(package private) int |
index
|
(package private) StyledTextOutput.Block[] |
referringBlocks
|
(package private) java.lang.String |
text
|
| Fields inherited from interface java.text.CharacterIterator |
DONE |
| Constructor Summary | |
(package private) |
StyledTextOutput.STOCharacterIterator()
|
| Method Summary | |
java.lang.Object |
clone()
This method creates a copy of this CharacterIterator. |
char |
current()
This method returns the character at the current index position |
char |
first()
This method sets the index value to the beginning of the range and returns the character there. |
java.util.Set |
getAllAttributeKeys()
Returns a list of all keys that are defined for the text range. |
java.lang.Object |
getAttribute(java.text.AttributedCharacterIterator.Attribute attribute)
Returns the value of the specified attribute for the current character. |
java.util.Map |
getAttributes()
Returns a Map of the attributes defined for the current
character. |
int |
getBeginIndex()
This method returns the character position of the first character in the range. |
int |
getEndIndex()
This method returns the character position of the end of the text range. |
int |
getIndex()
This method returns the current value of the index. |
int |
getRunLimit()
Returns the index of the character after the end of the run that contains all attributes defined for the current character. |
int |
getRunLimit(java.text.AttributedCharacterIterator.Attribute attribute)
Returns the index of the character after the end of the run that contains the specified attribute defined for the current character. |
int |
getRunLimit(java.util.Set set)
Returns the index of the character after the end of the run that contains all attributes in the specified Set defined
for the current character. |
int |
getRunStart()
Returns the index of the first character in the run that contains all attributes defined for the current character. |
int |
getRunStart(java.text.AttributedCharacterIterator.Attribute attribute)
Returns the index of the first character in the run that contains the specified attribute defined for the current character. |
int |
getRunStart(java.util.Set set)
Returns the index of the first character in the run that contains all attributes in the specified Set defined for
the current character. |
char |
last()
This method sets the index value to getEndIndex() - 1 and
returns the character there. |
char |
next()
This method increments the current index and then returns the character at the new index value. |
char |
previous()
This method decrements the current index and then returns the character at the new index value. |
char |
setIndex(int param)
This method sets the value of the index to the specified value, then returns the character at that position. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
text
java.lang.String text
referringBlocks
StyledTextOutput.Block[] referringBlocks
attributeKeys
java.util.Set attributeKeys
index
int index
| Constructor Detail |
StyledTextOutput.STOCharacterIterator
StyledTextOutput.STOCharacterIterator()
| Method Detail |
clone
public java.lang.Object clone()
- Description copied from interface:
java.text.CharacterIterator - This method creates a copy of this
CharacterIterator.- Specified by:
clonein interfacejava.text.CharacterIterator
current
public char current()
- Description copied from interface:
java.text.CharacterIterator - This method returns the character at the current index position
- Specified by:
currentin interfacejava.text.CharacterIterator
first
public char first()
- Description copied from interface:
java.text.CharacterIterator - This method sets the index value to the beginning of the range and returns
the character there.
- Specified by:
firstin interfacejava.text.CharacterIterator
getBeginIndex
public int getBeginIndex()
- Description copied from interface:
java.text.CharacterIterator - This method returns the character position of the first character in the
range.
- Specified by:
getBeginIndexin interfacejava.text.CharacterIterator
getEndIndex
public int getEndIndex()
- Description copied from interface:
java.text.CharacterIterator - This method returns the character position of the end of the text range.
This will actually be the index of the first character following the
end of the range. In the event the text range is empty, this will be
equal to the first character in the range.
- Specified by:
getEndIndexin interfacejava.text.CharacterIterator
getIndex
public int getIndex()
- Description copied from interface:
java.text.CharacterIterator - This method returns the current value of the index.
- Specified by:
getIndexin interfacejava.text.CharacterIterator
last
public char last()
- Description copied from interface:
java.text.CharacterIterator - This method sets the index value to
getEndIndex() - 1and returns the character there. If the range is empty, then the index value will be set equal to the beginning index.- Specified by:
lastin interfacejava.text.CharacterIterator
next
public char next()
- Description copied from interface:
java.text.CharacterIterator - This method increments the current index and then returns the character
at the new index value. If the index is already at
getEndIndex() - 1, it will not be incremented.- Specified by:
nextin interfacejava.text.CharacterIterator
previous
public char previous()
- Description copied from interface:
java.text.CharacterIterator - This method decrements the current index and then returns the character
at the new index value. If the index value is already at the beginning
index, it will not be decremented.
- Specified by:
previousin interfacejava.text.CharacterIterator
setIndex
public char setIndex(int param)
- Description copied from interface:
java.text.CharacterIterator - This method sets the value of the index to the specified value, then
returns the character at that position.
- Specified by:
setIndexin interfacejava.text.CharacterIterator
getAllAttributeKeys
public java.util.Set getAllAttributeKeys()
- Description copied from interface:
java.text.AttributedCharacterIterator - Returns a list of all keys that are defined for the
text range. This can be an empty list if no attributes are defined.
- Specified by:
getAllAttributeKeysin interfacejava.text.AttributedCharacterIterator
getAttribute
public java.lang.Object getAttribute(java.text.AttributedCharacterIterator.Attribute attribute)
- Description copied from interface:
java.text.AttributedCharacterIterator - Returns the value of the specified attribute for the
current character. If the attribute is not defined for the current
character,
nullis returned.- Specified by:
getAttributein interfacejava.text.AttributedCharacterIterator
getAttributes
public java.util.Map getAttributes()
- Description copied from interface:
java.text.AttributedCharacterIterator - Returns a
Mapof the attributes defined for the current character.- Specified by:
getAttributesin interfacejava.text.AttributedCharacterIterator
getRunLimit
public int getRunLimit()
- Description copied from interface:
java.text.AttributedCharacterIterator - Returns the index of the character after the end of the run
that contains all attributes defined for the current character.
- Specified by:
getRunLimitin interfacejava.text.AttributedCharacterIterator
getRunLimit
public int getRunLimit(java.util.Set set)
- Description copied from interface:
java.text.AttributedCharacterIterator - Returns the index of the character after the end of the run
that contains all attributes in the specified
Setdefined for the current character.- Specified by:
getRunLimitin interfacejava.text.AttributedCharacterIterator
getRunLimit
public int getRunLimit(java.text.AttributedCharacterIterator.Attribute attribute)
- Description copied from interface:
java.text.AttributedCharacterIterator - Returns the index of the character after the end of the run
that contains the specified attribute defined for the current character.
- Specified by:
getRunLimitin interfacejava.text.AttributedCharacterIterator
getRunStart
public int getRunStart()
- Description copied from interface:
java.text.AttributedCharacterIterator - Returns the index of the first character in the run that
contains all attributes defined for the current character.
- Specified by:
getRunStartin interfacejava.text.AttributedCharacterIterator
getRunStart
public int getRunStart(java.text.AttributedCharacterIterator.Attribute attribute)
- Description copied from interface:
java.text.AttributedCharacterIterator - Returns the index of the first character in the run that
contains the specified attribute defined for the current character.
- Specified by:
getRunStartin interfacejava.text.AttributedCharacterIterator
getRunStart
public int getRunStart(java.util.Set set)
- Description copied from interface:
java.text.AttributedCharacterIterator - Returns the index of the first character in the run that
contains all attributes in the specified
Setdefined for the current character.- Specified by:
getRunStartin interfacejava.text.AttributedCharacterIterator
|
|||||||||
| Home >> All >> cgsuite >> [ plugin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
cgsuite.plugin.StyledTextOutput.STOCharacterIterator