JavaTM 2 Platform
Std. Ed. v1.3

javax.swing.text
クラス StyleConstants.ColorConstants

java.lang.Object
  |
  +--javax.swing.text.StyleConstants
        |
        +--javax.swing.text.StyleConstants.ColorConstants
すべての実装インタフェース:
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute
含まれているクラス:
StyleConstants

public static class StyleConstants.ColorConstants
extends StyleConstants
implements AttributeSet.ColorAttribute, AttributeSet.CharacterAttribute

色に使用される「既知」の属性の型保証された列挙です。これらは、汎用的な表現とするために外部クラスによって別名が付けられます。


クラス javax.swing.text.StyleConstants から継承した内部クラス
StyleConstants.CharacterConstants, StyleConstants.ColorConstants, StyleConstants.FontConstants, StyleConstants.ParagraphConstants
 
フィールドの概要
static Object Background
          バックグラウンドカラー属性の名前です。
static Object Foreground
          フォアグラウンドカラー属性の名前です。
 
クラス javax.swing.text.StyleConstants から継承したフィールド
ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_LEFT, ALIGN_RIGHT, Alignment, BidiLevel, Bold, ComponentAttribute, ComponentElementName, ComposedTextAttribute, FirstLineIndent, FontFamily, FontSize, IconAttribute, IconElementName, Italic, LeftIndent, LineSpacing, ModelAttribute, NameAttribute, Orientation, ResolveAttribute, RightIndent, SpaceAbove, SpaceBelow, StrikeThrough, Subscript, Superscript, TabSet, Underline
 
クラス javax.swing.text.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
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

Foreground

public static final Object Foreground
フォアグラウンドカラー属性の名前です。

Background

public static final Object Background
バックグラウンドカラー属性の名前です。

JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.