クラスStyleConstants.ColorConstants
java.lang.Object
javax.swing.text.StyleConstants
javax.swing.text.StyleConstants.ColorConstants
- すべての実装されたインタフェース:
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute
- 含まれているクラス:
StyleConstants
public static final class StyleConstants.ColorConstants extends StyleConstants implements AttributeSet.ColorAttribute, AttributeSet.CharacterAttribute
色に寄与する既知の属性の型保証された列挙型です。 これらは、汎用的な表現とするために外部クラスによって別名が付けられます。
-
ネストされたクラスのサマリー
クラスStyleConstantsで宣言されたネストされたクラス/インタフェース
StyleConstants.CharacterConstants, StyleConstants.ColorConstants, StyleConstants.FontConstants, StyleConstants.ParagraphConstants修飾子と型クラス説明static final class文字の書式に寄与する既知の属性の型保証された列挙型です。static final class色に寄与する既知の属性の型保証された列挙型です。static final classフォントに寄与する既知の属性の型保証された列挙型です。static final class段落の書式に寄与する既知の属性の型保証された列挙型です。 -
フィールドのサマリー
クラスで宣言されたフィールド StyleConstants
ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_LEFT, ALIGN_RIGHT, Alignment, Background, BidiLevel, Bold, ComponentAttribute, ComponentElementName, ComposedTextAttribute, Family, FirstLineIndent, FontFamily, FontSize, Foreground, IconAttribute, IconElementName, Italic, LeftIndent, LineSpacing, ModelAttribute, NameAttribute, Orientation, ResolveAttribute, RightIndent, Size, SpaceAbove, SpaceBelow, StrikeThrough, Subscript, Superscript, TabSet, Underline修飾子と型フィールド説明static final int段落の配置方法の値です。static final int段落の配置方法の値です。static final int段落の配置方法の値です。static final int段落の配置方法の値です。static final Object段落の配置方法です。static final Objectバックグラウンド・カラー属性の名前です。static final ObjectUnicode BIDIアルゴリズムによって割り当てられている文字の双方向レベルです。static final Objectボールド属性の名前です。static final Objectコンポーネント属性の名前です。static final Stringコンポーネントを表すために使用される要素の名前です。static final Objectインプット・メソッドの変換テキスト属性の名前です。static final Objectフォント・ファミリの名前です。static final Object段落の最初の行をインデントするスペースの量です。static final Objectフォント・ファミリの名前です。static final Objectフォント・サイズの名前です。static final Objectフォアグラウンド・カラー属性の名前です。static final Objectアイコン属性の名前です。static final Stringアイコンを表すために使用される要素の名前です。static final Objectイタリック属性の名前です。static final Object段落の左側をインデントする量です。static final Object段落の行間のスペースの量です。static final Objectモデル・ビューが分離されている、埋込みオブジェクト用のモデルを識別するために使用される属性です。static final Object属性のコレクションに使用される属性名です。static final Object段落の向きです。static final Object解釈処理側の親の属性セットが定義されている場合に、それを識別するために使用される属性名です。static final Object段落の右側をインデントする量です。static final Objectフォント・サイズの名前です。static final Object段落の上のスペースの量です。static final Object段落の下のスペースの量です。static final Object取消し線属性の名前です。static final Object下付き文字属性の名前です。static final Object上付き文字属性の名前です。static final Object段落のタブ・セットで、タブストップを格納するタブ・セットです。static final Object下線属性の名前です。 -
メソッドのサマリー
クラスで宣言されたメソッド StyleConstants
getAlignment, getBackground, getBidiLevel, getComponent, getFirstLineIndent, getFontFamily, getFontSize, getForeground, getIcon, getLeftIndent, getLineSpacing, getRightIndent, getSpaceAbove, getSpaceBelow, getTabSet, isBold, isItalic, isStrikeThrough, isSubscript, isSuperscript, isUnderline, setAlignment, setBackground, setBidiLevel, setBold, setComponent, setFirstLineIndent, setFontFamily, setFontSize, setForeground, setIcon, setItalic, setLeftIndent, setLineSpacing, setRightIndent, setSpaceAbove, setSpaceBelow, setStrikeThrough, setSubscript, setSuperscript, setTabSet, setUnderline, toString修飾子と型メソッド説明static int配置方法の設定を取得します。static Color属性リストからバックグラウンド・カラーの設定を取得します。static intBIDIレベルの設定を取得します。static Component属性リストからコンポーネントの設定を返します。static float最初の行のインデント設定を取得します。static String属性リストからフォント・ファミリの設定を取得します。static int属性リストからフォント・サイズの設定を取得します。static Color属性リストからフォアグラウンド・カラーの設定を取得します。static Icon属性リストからアイコンの設定を返します。static float左インデントの設定を取得します。static float行間隔の設定を取得します。static float右インデントの設定を取得します。static float上のスペースの設定を取得します。static float下のスペースの設定を取得します。static TabSetタブ・セットを取得します。static booleanボールド属性が設定されているかどうかを判定します。static booleanイタリック属性が設定されているかどうかを判定します。static boolean取消し線属性が設定されているかどうかを判定します。static boolean下付き文字属性が設定されているかどうかを判定します。static boolean上付き文字線属性が設定されているかどうかを判定します。static boolean下線属性が設定されているかどうかを判定します。static voidsetAlignment(MutableAttributeSet a, int align) 配置方法を設定します。static voidバックグラウンド・カラーを設定します。static voidsetBidiLevel(MutableAttributeSet a, int o) BIDIレベルを設定します。static voidsetBold(MutableAttributeSet a, boolean b) ボールド属性を設定します。static voidコンポーネント属性を設定します。static voidsetFirstLineIndent(MutableAttributeSet a, float i) 最初の行のインデントを設定します。static voidsetFontFamily(MutableAttributeSet a, String fam) フォントの属性を設定します。static voidsetFontSize(MutableAttributeSet a, int s) フォント・サイズの属性を設定します。static voidフォアグラウンド・カラーを設定します。static voidsetIcon(MutableAttributeSet a, Icon c) アイコンの属性を設定します。static voidsetItalic(MutableAttributeSet a, boolean b) イタリック属性を設定します。static voidsetLeftIndent(MutableAttributeSet a, float i) 左インデントを設定します。static voidsetLineSpacing(MutableAttributeSet a, float i) 行間隔を設定します。static voidsetRightIndent(MutableAttributeSet a, float i) 右インデントを設定します。static voidsetSpaceAbove(MutableAttributeSet a, float i) 上のスペースを設定します。static voidsetSpaceBelow(MutableAttributeSet a, float i) 下のスペースを設定します。static voidsetStrikeThrough(MutableAttributeSet a, boolean b) 取消し線属性を設定します。static voidsetSubscript(MutableAttributeSet a, boolean b) 下付き文字属性を設定します。static voidsetSuperscript(MutableAttributeSet a, boolean b) 上付き文字属性を設定します。static voidsetTabSet(MutableAttributeSet a, TabSet tabs) タブ・セットを設定します。static voidsetUnderline(MutableAttributeSet a, boolean b) 下線属性を設定します。toString()文字列表現を返します。クラスオブジェクトで宣言されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait修飾子と型メソッド説明protected Objectclone()このオブジェクトのコピーを作成して、返します。booleanこのオブジェクトと他のオブジェクトが等しいかどうかを示します。protected voidfinalize()削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。最終決定は非推奨であり、将来のリリースで削除される可能性があります。final Class<?> getClass()このObjectの実行時クラスを返します。inthashCode()このオブジェクトに対するハッシュ・コード値を返します。final voidnotify()このオブジェクトのモニターで待機中のスレッドを1つ再開します。final voidこのオブジェクトのモニターで待機中のすべてのスレッドを再開します。final voidwait()現在のスレッドが目覚めるまで待機します。通常、notifiedまたはinterruptedです。final voidwait(long timeoutMillis) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。final voidwait(long timeoutMillis, int nanos) 現在のスレッドは、通常、notifiedまたはinterruptedであるか、一定のリアルタイムが経過するまで、目覚めるまで待機します。