Java プラットフォーム 1.2

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

AttributedCharacterIterator.Attribute を使用するパッケージ
java.awt このパッケージには、ユーザインタフェースの作成と、グラフィックスとイメージのペイントのためのクラスがすべて含まれています。 
java.awt.font フォント関連のクラスおよびインタフェースを提供します。 
java.awt.im Input Method Framework のためのクラスおよびインタフェースを提供します。 
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.AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
          AttributedCharacterIterator によって表現される、指定された属性付きテキストの部分範囲を持つ AttributedString のインスタンスを生成します。
 


Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.