JavaTM Platform
Standard Ed. 6

クラス
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 がサポートするすべての属性のキーを返します。
 

AttributedCharacterIterator.Attribute 型の型引数を持つ java.awt のメソッドパラメータ
 Font Font.deriveFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
          現在の Font オブジェクトを複製し新しいフォント属性を適用することにより、新しい Font オブジェクトを生成します。
static Font Font.getFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
          属性に適した Font を返します。
 

AttributedCharacterIterator.Attribute 型の型引数を持つ java.awt のコンストラクタパラメータ
Font(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
          指定された属性で新しい Font を生成します。
 

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

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

AttributedCharacterIterator.Attribute 型の型引数を持つ java.awt.font のコンストラクタパラメータ
TextLayout(String string, Map<? extends AttributedCharacterIterator.Attribute,?> attributes, FontRenderContext frc)
          String および属性セットから TextLayout を構築します。
 

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

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

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 のメソッド
 Set<AttributedCharacterIterator.Attribute> AttributedCharacterIterator.getAllAttributeKeys()
          反復子のテキスト範囲で定義されたすべての属性のキーを返します。
 Map<AttributedCharacterIterator.Attribute,Object> AttributedCharacterIterator.getAttributes()
          現在の文字に定義された属性を持つマップを返します。
 

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 のメソッドパラメータ
 void AttributedString.addAttributes(Map<? extends AttributedCharacterIterator.Attribute,?> attributes, int beginIndex, int endIndex)
          一連の属性を文字列の部分範囲に追加します。
 int AttributedCharacterIterator.getRunLimit(Set<? extends AttributedCharacterIterator.Attribute> attributes)
          現在の文字を保持するいくつかの指定された属性について、ランの次に来る先頭文字のインデックスを返します。
 int AttributedCharacterIterator.getRunStart(Set<? extends AttributedCharacterIterator.Attribute> attributes)
          現在の文字を保持するいくつかの指定された属性について、ランの先頭文字のインデックスを返します。
 

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

AttributedCharacterIterator.Attribute 型の型引数を持つ java.text のコンストラクタパラメータ
AttributedString(String text, Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
          指定されたテキストと属性を持つ AttributedString インスタンスを構築します。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。