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

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

JavaTM 2 Platform
Standard Edition

Uses of Class
java.text.AttributedCharacterIterator.Attribute

Packages that use AttributedCharacterIterator.Attribute
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
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. 
 

Uses of AttributedCharacterIterator.Attribute in java.awt
 

Methods in java.awt that return AttributedCharacterIterator.Attribute
 AttributedCharacterIterator.Attribute[] Font.getAvailableAttributes()
          Returns the keys of all the attributes supported by this Font.
 

Uses of AttributedCharacterIterator.Attribute in java.awt.font
 

Subclasses of AttributedCharacterIterator.Attribute in java.awt.font
 class TextAttribute
          The TextAttribute class defines attribute keys and attribute values used for text rendering.
 

Uses of AttributedCharacterIterator.Attribute in java.awt.im
 

Methods in java.awt.im with parameters of type AttributedCharacterIterator.Attribute
 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.Attribute in java.text
 

Fields in java.text declared as AttributedCharacterIterator.Attribute
static AttributedCharacterIterator.Attribute AttributedCharacterIterator.Attribute.LANGUAGE
          Attribute key for the language of some text.
static AttributedCharacterIterator.Attribute AttributedCharacterIterator.Attribute.READING
          Attribute key for the reading of some text.
static AttributedCharacterIterator.Attribute AttributedCharacterIterator.Attribute.INPUT_METHOD_SEGMENT
          Attribute key for input method segments.
 

Methods in java.text with parameters of type AttributedCharacterIterator.Attribute
 int AttributedCharacterIterator.getRunStart(AttributedCharacterIterator.Attribute attribute)
          Returns the index of the first character of the run with respect to the given attribute containing the current character.
 int AttributedCharacterIterator.getRunLimit(AttributedCharacterIterator.Attribute attribute)
          Returns the index of the first character following the run with respect to the given attribute containing the current character.
 Object AttributedCharacterIterator.getAttribute(AttributedCharacterIterator.Attribute attribute)
          Returns the value of the named attribute for the current character.
 void AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute, Object value)
          Adds an attribute to the entire string.
 void AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int beginIndex, int endIndex)
          Adds an attribute to a subrange of the 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.Attribute
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.
 


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.