
public static class StyleConstants.ColorConstants extends StyleConstants
implements AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute {
// No Constructor
// Public Constants
public static final Object Background;
public static final Object Foreground;
}
StyleConstants.FontConstants Ja va 1. 2
javax.swing .text
This inner subclass of StyleConstants implements the AttributeSet.FontAttribute and Attribute-
Set.CharacterAttribute marker interfaces and defines standard attribute key constants for
font attributes. Copies of these constants are also defined by StyleConstants itself.
public static class StyleConstants.FontConstants extends StyleConstants
implements AttributeSet.CharacterAttribute, AttributeSet.FontAttribute {
// No Constructor
// Public Constants
public static final Object Bold;
public static final Object Family;
public static final Object Italic;
public static final Object Size;
}
StyleConstants.ParagraphConstants Ja va 1.2
javax.swing .text
This inner subclass of StyleConstants implements the AttributeSet.ParagraphAttribute marker
inter face and defines various standard attribute key constants for paragraph attributes.
Copies of these constants are also defined by StyleConstants itself.
public static class StyleConstants.ParagraphConstants extends StyleConstants
implements AttributeSet.ParagraphAttribute {
// No Constructor
// Public Constants
public static final Object Alignment;
public static final ...