Uses of Interface
java.text.CharacterIterator
| 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.
|
-
Uses of CharacterIterator in java.awt
Methods in java.awt with parameters of type CharacterIterator Modifier and Type Method Description intFont. canDisplayUpTo(CharacterIterator iter, int start, int limit)Indicates whether or not thisFontcan display the text specified by theiterstarting atstartand ending atlimit.GlyphVectorFont. createGlyphVector(FontRenderContext frc, CharacterIterator ci)Creates aGlyphVectorby mapping the specified characters to glyphs one-to-one based on the Unicode cmap in thisFont.LineMetricsFont. getLineMetrics(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)Returns aLineMetricsobject created with the specified arguments.LineMetricsFontMetrics. getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context)Returns theLineMetricsobject for the specifiedCharacterIteratorin the specifiedGraphicscontext.Rectangle2DFont. getStringBounds(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)Returns the logical bounds of the characters indexed in the specifiedCharacterIteratorin the specifiedFontRenderContext.Rectangle2DFontMetrics. getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context)Returns the bounds of the characters indexed in the specifiedCharacterIteratorin the specifiedGraphicscontext. -
Uses of CharacterIterator in java.text
Subinterfaces of CharacterIterator in java.text Modifier and Type Interface Description interfaceAttributedCharacterIteratorAnAttributedCharacterIteratorallows iteration through both text and related attribute information.Classes in java.text that implement CharacterIterator Modifier and Type Class Description classStringCharacterIteratorStringCharacterIteratorimplements theCharacterIteratorprotocol for aString.Methods in java.text that return CharacterIterator Modifier and Type Method Description abstract CharacterIteratorBreakIterator. getText()Get the text being scannedMethods in java.text with parameters of type CharacterIterator Modifier and Type Method Description CollationElementIteratorRuleBasedCollator. getCollationElementIterator(CharacterIterator source)Returns a CollationElementIterator for the given CharacterIterator.abstract voidBreakIterator. setText(CharacterIterator newText)Set a new text for scanning.voidCollationElementIterator. setText(CharacterIterator source)Set a new string over which to iterate. -
Uses of CharacterIterator in javax.swing.text
Classes in javax.swing.text that implement CharacterIterator Modifier and Type Class Description classSegmentA segment of a character array representing a fragment of text.