クラス
java.text.AttributedCharacterIterator.Attributeの使用
AttributedCharacterIterator.Attributeを使用するパッケージ
パッケージ
説明
ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。
フォント関連のクラスおよびインタフェースを提供します。
インプット・メソッド・フレームワークのためのクラスおよびインタフェースを提供します。
テキスト、日付、数値、およびメッセージを自然言語に依存しない方法で処理するためのクラスとインタフェースを提供します。
-
java.awtのAttributedCharacterIterator.Attributeの使用
型AttributedCharacterIterator.Attributeの型引数を持つjava.awtのメソッド・パラメータ修飾子と型メソッド説明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の使用
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のメソッド修飾子と型メソッド説明InputMethodRequests.cancelLatestCommittedText
(AttributedCharacterIterator.Attribute[] attributes) テキスト編集コンポーネントから最新の確定テキストを取得して、コンポーネントのテキスト本体からそのテキストを削除します。InputMethodRequests.getCommittedText
(int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes) 未確定テキスト以外の、テキスト編集コンポーネントに含まれるテキストおよび属性の全体に、アクセスするイテレータを取得します。InputMethodRequests.getSelectedText
(AttributedCharacterIterator.Attribute[] attributes) 現在選択されているテキストをテキスト編集コンポーネントから取得します。 -
java.textのAttributedCharacterIterator.Attributeの使用
修飾子と型クラス説明static class
DateFormat.formatToCharacterIterator
から返されたAttributedCharacterIterator
内の属性キー、およびFieldPosition
内のフィールド識別子として使用する定数を定義します。static class
Format.formatToCharacterIterator
から返されたAttributedCharacterIterator
内の属性キー、およびFieldPosition
内のフィールド識別子として使用する定数を定義します。static class
MessageFormat.formatToCharacterIterator
から返されたAttributedCharacterIterator
内の属性キーとして使用する定数を定義します。static class
NumberFormat.formatToCharacterIterator
から返されたAttributedCharacterIterator
内の属性キー、およびFieldPosition
内のフィールド識別子として使用する定数を定義します。AttributedCharacterIterator.Attributeとして宣言されたjava.textのフィールド修飾子と型フィールド説明static final AttributedCharacterIterator.Attribute
AttributedCharacterIterator.Attribute.INPUT_METHOD_SEGMENT
インプット・メソッドのセグメントを表す属性キーです。static final AttributedCharacterIterator.Attribute
AttributedCharacterIterator.Attribute.LANGUAGE
テキストの言語を表す属性キーです。static final AttributedCharacterIterator.Attribute
AttributedCharacterIterator.Attribute.READING
テキストの読み方を表す属性キーです。型AttributedCharacterIterator.Attributeの引数を持つ型を返すjava.textのメソッド修飾子と型メソッド説明AttributedCharacterIterator.getAllAttributeKeys()
イテレータのテキスト範囲で定義されたすべての属性のキーを返します。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) 属性を文字列の部分範囲に追加します。AttributedCharacterIterator.getAttribute
(AttributedCharacterIterator.Attribute attribute) 現在の文字について指定されたattribute
の値を返します。AttributedString.getIterator
(AttributedCharacterIterator.Attribute[] attributes) この文字列の選択された内容にアクセスできるAttributedCharacterIteratorインスタンスを作成します。AttributedString.getIterator
(AttributedCharacterIterator.Attribute[] attributes, int beginIndex, int endIndex) この文字列の選択された内容にアクセスできるAttributedCharacterIteratorインスタンスを作成します。int
AttributedCharacterIterator.getRunLimit
(AttributedCharacterIterator.Attribute attribute) 現在の文字を保持する指定されたattribute
について、ランの次に来る先頭文字のインデックスを返します。int
AttributedCharacterIterator.getRunStart
(AttributedCharacterIterator.Attribute 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) 現在の文字を保持する指定されたattributes
について、ランの次に来る先頭文字のインデックスを返します。int
AttributedCharacterIterator.getRunStart
(Set<? extends AttributedCharacterIterator.Attribute> attributes) 現在の文字を保持する指定された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インスタンスを構築します。