| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Font.canDisplayUpTo(CharacterIterator
Indicates whether or not this
Font can display the text specified by the
iter starting at
start and ending at
limit.
|
GlyphVector |
Font.createGlyphVector(FontRenderContext
Creates a
GlyphVector by mapping the specified characters to glyphs one-to-one based on the Unicode cmap in this
Font.
|
LineMetrics |
Font.getLineMetrics(CharacterIterator
Returns a
LineMetrics object created with the specified arguments.
|
LineMetrics |
FontMetrics.getLineMetrics(CharacterIterator
Returns the
LineMetrics object for the specified
CharacterIterator in the specified
Graphics context.
|
Rectangle2D |
Font.getStringBounds(CharacterIterator
Returns the logical bounds of the characters indexed in the specified
CharacterIterator in the specified
FontRenderContext.
|
Rectangle2D |
FontMetrics.getStringBounds(CharacterIterator
Returns the bounds of the characters indexed in the specified
CharacterIterator in the specified
Graphics context.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AttributedCharacterIterator
An
AttributedCharacterIterator allows iteration through both text and related attribute information.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StringCharacterIterator
StringCharacterIterator implements the
CharacterIterator protocol for a
String.
|
| Modifier and Type | Method and Description |
|---|---|
abstract CharacterIterator |
BreakIterator.getText()
Get the text being scanned
|
| Modifier and Type | Method and Description |
|---|---|
CollationElementIterator |
RuleBasedCollator.getCollationElementIterator(CharacterIterator
Returns a CollationElementIterator for the given CharacterIterator.
|
abstract void |
BreakIterator.setText(CharacterIterator
Set a new text for scanning.
|
void |
CollationElementIterator.setText(CharacterIterator
Set a new string over which to iterate.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Segment
A segment of a character array representing a fragment of text.
|