JavaTM 2 Platform
Std. Ed. v1.3

クラス
java.text.AttributedCharacterIterator.Attribute の使用

AttributedCharacterIterator.Attribute を使用しているパッケージ
java.awt このパッケージには、ユーザインタフェースの作成と、グラフィックスとイメージのペイントのためのクラスがすべて含まれています。 
java.awt.font フォント関連のクラスおよびインタフェースを提供します。 
java.awt.im インプットメソッドフレームワークのためのクラスおよびインタフェースを提供します。 
java.text テキスト、日付、数値およびメッセージを、自然言語に依存しない方法で処理するためのクラスとインタフェースを提供します。 
 

java.awt での AttributedCharacterIterator.Attribute の使用
 

AttributedCharacterIterator.Attribute を返す java.awt のメソッド
 AttributedCharacterIterator.Attribute[] Font.getAvailableAttributes()
          この Font がサポートするすべての属性のキーを返します。
 

java.awt.font での AttributedCharacterIterator.Attribute の使用
 

java.awt.font での AttributedCharacterIterator.Attribute のサブクラス
 class TextAttribute
          TextAttribute クラスは、テキストの描画に使用する属性キーおよび属性値を定義します。
 

java.awt.im での AttributedCharacterIterator.Attribute の使用
 

AttributedCharacterIterator.Attribute 型のパラメータを持つ java.awt.im のメソッド
 AttributedCharacterIterator InputMethodRequests.getCommittedText(int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
          未確定のテキストを除いて、テキスト編集コンポーネントに格納されているテキスト全体および属性へのアクセスを提供する反復子を返します。
 AttributedCharacterIterator InputMethodRequests.cancelLatestCommittedText(AttributedCharacterIterator.Attribute[] attributes)
          テキスト編集コンポーネントから最新の確定テキストを取得して、コンポーネントのテキスト本体からそのテキストを削除します。
 AttributedCharacterIterator InputMethodRequests.getSelectedText(AttributedCharacterIterator.Attribute[] attributes)
          テキスト編集コンポーネント上で選択されているテキストを返します。
 

java.text での AttributedCharacterIterator.Attribute の使用
 

AttributedCharacterIterator.Attribute として宣言されている java.text のフィールド
static AttributedCharacterIterator.Attribute AttributedCharacterIterator.Attribute.LANGUAGE
          テキストの言語に対する属性キーです。
static AttributedCharacterIterator.Attribute AttributedCharacterIterator.Attribute.READING
          テキストの読み方の属性キーです。
static AttributedCharacterIterator.Attribute AttributedCharacterIterator.Attribute.INPUT_METHOD_SEGMENT
          入力メソッドセグメントの属性キーです。
 

AttributedCharacterIterator.Attribute 型のパラメータを持つ java.text のメソッド
 int AttributedCharacterIterator.getRunStart(AttributedCharacterIterator.Attribute attribute)
          現在の文字を保持する指定された属性について、ランの先頭文字のインデックスを返します。
 int AttributedCharacterIterator.getRunLimit(AttributedCharacterIterator.Attribute attribute)
          現在の文字を保持する指定された属性について、ランの次に来る先頭文字のインデックスを返します。
 Object AttributedCharacterIterator.getAttribute(AttributedCharacterIterator.Attribute attribute)
          現在の文字について指定された属性の値を返します。
 void AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute, Object value)
          属性を文字列全体に追加します。
 void AttributedString.addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int beginIndex, int endIndex)
          属性を文字列の部分範囲に追加します。
 AttributedCharacterIterator AttributedString.getIterator(AttributedCharacterIterator.Attribute[] attributes)
          文字列の選択された内容へのアクセスを提供する、AttributedCharacterIterator のインスタンスを生成します。
 AttributedCharacterIterator AttributedString.getIterator(AttributedCharacterIterator.Attribute[] attributes, int beginIndex, int endIndex)
          文字列の選択された内容へのアクセスを提供する、AttributedCharacterIterator のインスタンスを生成します。
 

AttributedCharacterIterator.Attribute 型のパラメータを持つ java.text のコンストラクタ
AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
          AttributedCharacterIterator によって表現される、指定された属性付きテキストの部分範囲を持つ AttributedString のインスタンスを生成します。
 


JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.