CDC 1.1.2

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

AttributedCharacterIterator.Attribute を使用しているパッケージ
java.text テキスト、日付、数値、およびメッセージを自然言語に依存しない方法で処理するためのクラスとインタフェースを提供します。 
 

java.text での AttributedCharacterIterator.Attribute の使用
 

java.text での AttributedCharacterIterator.Attribute のサブクラス
static class DateFormat.Field
          DateFormat.formatToCharacterIterator から返された AttributedCharacterIterator 内の属性キー、および FieldPosition 内のフィールド識別子として使用する定数を定義します。
static class Format.Field
          Format.formatToCharacterIterator から返された AttributedCharacterIterator 内の属性キー、および FieldPosition 内のフィールド識別子として使用する定数を定義します。
static class MessageFormat.Field
          MessageFormat.formatToCharacterIterator から返された AttributedCharacterIterator 内の属性キーとして使用する定数を定義します。
static class NumberFormat.Field
          NumberFormat.formatToCharacterIterator から返された AttributedCharacterIterator 内の属性キー、および FieldPosition 内のフィールド識別子として使用する定数を定義します。
 

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

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

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


CDC 1.1.2

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.