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

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.text.AttributedCharacterIterator

Packages that use AttributedCharacterIterator
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
java.awt.font Provides classes and interface relating to fonts. 
java.awt.im Provides classes and an interface for the input method framework. 
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of AttributedCharacterIterator in java.awt
 

Methods in java.awt with parameters of type AttributedCharacterIterator
abstract  void Graphics.drawString(AttributedCharacterIterator iterator, int x, int y)
          Draws the text given by the specified iterator, using this graphics context's current color.
abstract  void Graphics2D.drawString(AttributedCharacterIterator iterator, int x, int y)
          Renders the text of the specified iterator, using the Graphics2D context's current Paint.
abstract  void Graphics2D.drawString(AttributedCharacterIterator iterator, float x, float y)
          Renders the text of the specified iterator, using the Graphics2D context's current Paint.
 

Uses of AttributedCharacterIterator in java.awt.event
 

Methods in java.awt.event that return AttributedCharacterIterator
 AttributedCharacterIterator InputMethodEvent.getText()
          Gets the combined committed and composed text.
 

Constructors in java.awt.event with parameters of type AttributedCharacterIterator
InputMethodEvent.InputMethodEvent(Component source, int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition)
          Constructs an InputMethodEvent with the specified source component, type, text, caret, and visiblePosition.
 

Uses of AttributedCharacterIterator in java.awt.font
 

Methods in java.awt.font with parameters of type AttributedCharacterIterator
 void LineBreakMeasurer.insertChar(AttributedCharacterIterator newParagraph, int insertPos)
          Updates this LineBreakMeasurer after a single character is inserted into the text.
 void LineBreakMeasurer.deleteChar(AttributedCharacterIterator newParagraph, int deletePos)
          Updates this LineBreakMeasurer after a single character is deleted from the text.
 

Constructors in java.awt.font with parameters of type AttributedCharacterIterator
TextLayout.TextLayout(AttributedCharacterIterator text, FontRenderContext frc)
          Constructs a TextLayout from an iterator over styled text.
LineBreakMeasurer.LineBreakMeasurer(AttributedCharacterIterator text, FontRenderContext frc)
          Constructs a LineBreakMeasurer for the specified text.
LineBreakMeasurer.LineBreakMeasurer(AttributedCharacterIterator text, BreakIterator breakIter, FontRenderContext frc)
          Constructs a LineBreakMeasurer for the specified text.
 

Uses of AttributedCharacterIterator in java.awt.im
 

Methods in java.awt.im that return AttributedCharacterIterator
 AttributedCharacterIterator InputMethodRequests.getCommittedText(int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
          Gets an iterator providing access to the entire text and attributes contained in the text editing component except for uncommitted text.
 AttributedCharacterIterator InputMethodRequests.cancelLatestCommittedText(AttributedCharacterIterator.Attribute[] attributes)
          Gets the latest committed text from the text editing component and removes it from the component's text body.
 AttributedCharacterIterator InputMethodRequests.getSelectedText(AttributedCharacterIterator.Attribute[] attributes)
          Gets the currently selected text from the text editing component.
 

Uses of AttributedCharacterIterator in java.text
 

Methods in java.text that return AttributedCharacterIterator
 AttributedCharacterIterator AttributedString.getIterator()
          Creates an AttributedCharacterIterator instance that provides access to the entire contents of this string.
 AttributedCharacterIterator AttributedString.getIterator(AttributedCharacterIterator.Attribute[] attributes)
          Creates an AttributedCharacterIterator instance that provides access to selected contents of this string.
 AttributedCharacterIterator AttributedString.getIterator(AttributedCharacterIterator.Attribute[] attributes, int beginIndex, int endIndex)
          Creates an AttributedCharacterIterator instance that provides access to selected contents of this string.
 

Constructors in java.text with parameters of type AttributedCharacterIterator
AttributedString.AttributedString(AttributedCharacterIterator text)
          Constructs an AttributedString instance with the given attributed text represented by AttributedCharacterIterator.
AttributedString.AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex)
          Constructs an AttributedString instance with the subrange of the given attributed text represented by AttributedCharacterIterator.
AttributedString.AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
          Constructs an AttributedString instance with the subrange of the given attributed text represented by AttributedCharacterIterator.
 

Uses of AttributedCharacterIterator in javax.swing
 

Methods in javax.swing with parameters of type AttributedCharacterIterator
 void DebugGraphics.drawString(AttributedCharacterIterator iterator, int x, int y)
          Overrides Graphics.drawString.
 


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.