Uses of Interface
java.text.CharacterIterator
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
Provides classes and interfaces that deal with editable and noneditable text
components.
-
Uses of CharacterIterator in java.awt
Modifier and TypeMethodDescriptionint
Font.canDisplayUpTo
(CharacterIterator iter, int start, int limit) Indicates whether or not thisFont
can display the text specified by theiter
starting atstart
and ending atlimit
.Font.createGlyphVector
(FontRenderContext frc, CharacterIterator ci) Creates aGlyphVector
by mapping the specified characters to glyphs one-to-one based on the Unicode cmap in thisFont
.Font.getLineMetrics
(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc) Returns aLineMetrics
object created with the specified arguments.FontMetrics.getLineMetrics
(CharacterIterator ci, int beginIndex, int limit, Graphics context) Returns theLineMetrics
object for the specifiedCharacterIterator
in the specifiedGraphics
context.Font.getStringBounds
(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc) Returns the logical bounds of the characters indexed in the specifiedCharacterIterator
in the specifiedFontRenderContext
.FontMetrics.getStringBounds
(CharacterIterator ci, int beginIndex, int limit, Graphics context) Returns the bounds of the characters indexed in the specifiedCharacterIterator
in the specifiedGraphics
context. -
Uses of CharacterIterator in java.text
Modifier and TypeInterfaceDescriptioninterface
AnAttributedCharacterIterator
allows iteration through both text and related attribute information.Modifier and TypeClassDescriptionfinal class
StringCharacterIterator
implements theCharacterIterator
protocol for aString
.Modifier and TypeMethodDescriptionabstract CharacterIterator
BreakIterator.getText()
Get the text being scannedModifier and TypeMethodDescriptionRuleBasedCollator.getCollationElementIterator
(CharacterIterator source) Returns a CollationElementIterator for the given CharacterIterator.abstract void
BreakIterator.setText
(CharacterIterator newText) Set a new text for scanning.void
CollationElementIterator.setText
(CharacterIterator source) Set a new string over which to iterate. -
Uses of CharacterIterator in javax.swing.text
Modifier and TypeClassDescriptionclass
A segment of a character array representing a fragment of text.