站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface java.text.CharacterIterator - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.text.CharacterIterator

Packages that use CharacterIterator
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. 
 

Uses of CharacterIterator in java.awt
 

Methods in java.awt with parameters of type CharacterIterator
 LineMetrics FontMetrics.getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context)
          Returns the LineMetrics object for the specified CharacterIterator in the specified Graphics context.
 Rectangle2D FontMetrics.getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context)
          Returns the bounds of the characters indexed in the specified CharacterIterator in the specified Graphics context.
 int Font.canDisplayUpTo(CharacterIterator iter, int start, int limit)
          Indicates whether or not this Font can display the specified String.
 LineMetrics Font.getLineMetrics(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)
          Returns a LineMetrics object created with the specified arguments.
 Rectangle2D Font.getStringBounds(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)
          Returns the bounds of the characters indexed in the specified CharacterIterator in the specified FontRenderContext.
 GlyphVector Font.createGlyphVector(FontRenderContext frc, CharacterIterator ci)
          Returns a new GlyphVector object created with the specified CharacterIterator and the specified FontRenderContext.
 

Uses of CharacterIterator in java.text
 

Subinterfaces of CharacterIterator in java.text
 interface AttributedCharacterIterator
          An AttributedCharacterIterator allows iteration through both text and related attribute information.
 

Classes in java.text that implement CharacterIterator
 class StringCharacterIterator
          StringCharacterIterator implements the CharacterIterater protocol for a String.
 

Methods in java.text that return CharacterIterator
abstract  CharacterIterator BreakIterator.getText()
          Get the text being scanned
 

Methods in java.text with parameters of type CharacterIterator
 void CollationElementIterator.setText(CharacterIterator source)
          Set a new string over which to iterate.
abstract  void BreakIterator.setText(CharacterIterator newText)
          Set a new text for scanning.
 CollationElementIterator RuleBasedCollator.getCollationElementIterator(CharacterIterator source)
          Return a CollationElementIterator for the given String.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.