クラス
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のメソッド・パラメータ 修飾子と型 メソッド 説明 FontFont. deriveFont(Map<? extends AttributedCharacterIterator.Attribute,?> attributes)現在のFontオブジェクトを複製し、それに新しいフォント属性のセットを適用することによって、新しいFontオブジェクトを作成します。static FontFont. 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のサブクラス 修飾子と型 クラス 説明 classTextAttributeTextAttributeクラスは、テキストの描画に使用する属性キーおよび属性値を定義します。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のメソッド 修飾子と型 メソッド 説明 AttributedCharacterIteratorInputMethodRequests. cancelLatestCommittedText(AttributedCharacterIterator.Attribute[] attributes)テキスト編集コンポーネントから最新の確定テキストを取得して、コンポーネントのテキスト本体からそのテキストを削除します。AttributedCharacterIteratorInputMethodRequests. getCommittedText(int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)未確定テキスト以外の、テキスト編集コンポーネントに含まれるテキストおよび属性の全体に、アクセスするイテレータを取得します。AttributedCharacterIteratorInputMethodRequests. getSelectedText(AttributedCharacterIterator.Attribute[] attributes)現在選択されているテキストをテキスト編集コンポーネントから取得します。 -
java.textのAttributedCharacterIterator.Attributeの使用
java.textのAttributedCharacterIterator.Attributeのサブクラス 修飾子と型 クラス 説明 static classDateFormat.FieldDateFormat.formatToCharacterIteratorから返されたAttributedCharacterIterator内の属性キー、およびFieldPosition内のフィールド識別子として使用する定数を定義します。static classFormat.FieldFormat.formatToCharacterIteratorから返されたAttributedCharacterIterator内の属性キー、およびFieldPosition内のフィールド識別子として使用する定数を定義します。static classMessageFormat.FieldMessageFormat.formatToCharacterIteratorから返されたAttributedCharacterIterator内の属性キーとして使用する定数を定義します。static classNumberFormat.FieldNumberFormat.formatToCharacterIteratorから返されたAttributedCharacterIterator内の属性キー、およびFieldPosition内のフィールド識別子として使用する定数を定義します。AttributedCharacterIterator.Attributeとして宣言されているjava.textのフィールド 修飾子と型 フィールド 説明 static AttributedCharacterIterator.AttributeAttributedCharacterIterator.Attribute. INPUT_METHOD_SEGMENTインプット・メソッドのセグメントを表す属性キーです。static AttributedCharacterIterator.AttributeAttributedCharacterIterator.Attribute. LANGUAGEテキストの言語を表す属性キーです。static AttributedCharacterIterator.AttributeAttributedCharacterIterator.Attribute. READINGテキストの読み方を表す属性キーです。AttributedCharacterIterator.Attribute型の引数を持つ型を返すjava.textのメソッド 修飾子と型 メソッド 説明 Set<AttributedCharacterIterator.Attribute>AttributedCharacterIterator. getAllAttributeKeys()イテレータのテキスト範囲で定義されたすべての属性のキーを返します。Map<AttributedCharacterIterator.Attribute,Object>AttributedCharacterIterator. getAttributes()現在の文字に定義された属性を持つマップを返します。AttributedCharacterIterator.Attribute型のパラメータを持つjava.textのメソッド 修飾子と型 メソッド 説明 voidAttributedString. addAttribute(AttributedCharacterIterator.Attribute attribute, Object value)属性を文字列全体に追加します。voidAttributedString. addAttribute(AttributedCharacterIterator.Attribute attribute, Object value, int beginIndex, int endIndex)属性を文字列の部分範囲に追加します。ObjectAttributedCharacterIterator. getAttribute(AttributedCharacterIterator.Attribute attribute)現在の文字について指定されたattributeの値を返します。AttributedCharacterIteratorAttributedString. getIterator(AttributedCharacterIterator.Attribute[] attributes)この文字列の選択された内容にアクセスできるAttributedCharacterIteratorインスタンスを作成します。AttributedCharacterIteratorAttributedString. getIterator(AttributedCharacterIterator.Attribute[] attributes, int beginIndex, int endIndex)この文字列の選択された内容にアクセスできるAttributedCharacterIteratorインスタンスを作成します。intAttributedCharacterIterator. getRunLimit(AttributedCharacterIterator.Attribute attribute)現在の文字を保持する指定されたattributeについて、ランの次に来る先頭文字のインデックスを返します。intAttributedCharacterIterator. getRunStart(AttributedCharacterIterator.Attribute attribute)現在の文字を保持する指定されたattributeについて、ランの先頭文字のインデックスを返します。AttributedCharacterIterator.Attribute型の型引数を持つjava.textのメソッド・パラメータ 修飾子と型 メソッド 説明 voidAttributedString. addAttributes(Map<? extends AttributedCharacterIterator.Attribute,?> attributes, int beginIndex, int endIndex)一連の属性を文字列の部分範囲に追加します。intAttributedCharacterIterator. getRunLimit(Set<? extends AttributedCharacterIterator.Attribute> attributes)現在の文字を保持する指定されたattributesについて、ランの次に来る先頭文字のインデックスを返します。intAttributedCharacterIterator. 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インスタンスを構築します。
-