| Modifier and Type | Method and Description |
|---|---|
| public void | applyFont(int
The start index to apply the font to (inclusive) startIndex, int The end index to apply the font to (exclusive) endIndex, short The font to use. fontIndex)Applies a font to the specified characters of a string. |
| public void | |
| public void | |
| public void | |
| public void | |
| public int | Returns: the index within the string.the index of the formatting run index)The index within the string to which the specified formatting run applies. |
| public String | |
| public int | |
| public int |
| applyFont | back to summary |
|---|---|
| public void applyFont(int startIndex, int endIndex, short fontIndex) Applies a font to the specified characters of a string.
| |
| applyFont | back to summary |
|---|---|
| public void applyFont(int startIndex, int endIndex, Font font) Applies a font to the specified characters of a string.
| |
| applyFont | back to summary |
|---|---|
| public void applyFont(Font font) Sets the font of the entire string.
| |
| applyFont | back to summary |
|---|---|
| public void applyFont(short fontIndex) Applies the specified font to the entire string.
| |
| clearFormatting | back to summary |
|---|---|
| public void clearFormatting() Removes any formatting that may have been applied to the string. | |
| getIndexOfFormattingRun | back to summary |
|---|---|
| public int getIndexOfFormattingRun(int index) The index within the string to which the specified formatting run applies.
| |
| getString | back to summary |
|---|---|
| public String getString() Returns the plain string representation. | |
| length | back to summary |
|---|---|
public int length()
| |
| numFormattingRuns | back to summary |
|---|---|
public int numFormattingRuns()
| |