API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. StyleConstants.ColorConstants View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      StyleConstants
          StyleConstants.ColorConstants
Implements
 AttributeSet.ColorAttribute
 AttributeSet.CharacterAttribute
Subclasses
Description
publicstatic class StyleConstants.ColorConstants
  This is a typesafe enumeration of the well-known attributes that contribute to a color.
See also:   
Constructors
private StyleConstants.ColorConstants (String representation)
Methods
Hide/Show inherited methods
publicstatic int getAlignment (AttributeSet a) [Inherited From StyleConstants]
  Gets the alignment setting.
publicstatic Color getBackground (AttributeSet a) [Inherited From StyleConstants]
  Gets the background color setting from the attribute list.
publicstatic int getBidiLevel (AttributeSet a) [Inherited From StyleConstants]
  Gets the BidiLevel setting.
publicstatic Component getComponent (AttributeSet a) [Inherited From StyleConstants]
  Gets the component setting from the attribute list.
publicstatic float getFirstLineIndent (AttributeSet a) [Inherited From StyleConstants]
  Gets the first line indent setting.
publicstatic String getFontFamily (AttributeSet a) [Inherited From StyleConstants]
  Gets the font family setting from the attribute list.
publicstatic int getFontSize (AttributeSet a) [Inherited From StyleConstants]
  Gets the font size setting from the attribute list.
publicstatic Color getForeground (AttributeSet a) [Inherited From StyleConstants]
  Gets the foreground color setting from the attribute list.
publicstatic Icon getIcon (AttributeSet a) [Inherited From StyleConstants]
  Gets the icon setting from the attribute list.
publicstatic float getLeftIndent (AttributeSet a) [Inherited From StyleConstants]
  Gets the left indent setting.
publicstatic float getLineSpacing (AttributeSet a) [Inherited From StyleConstants]
  Gets the line spacing setting.
publicstatic float getRightIndent (AttributeSet a) [Inherited From StyleConstants]
  Gets the right indent setting.
publicstatic float getSpaceAbove (AttributeSet a) [Inherited From StyleConstants]
  Gets the space above setting.
publicstatic float getSpaceBelow (AttributeSet a) [Inherited From StyleConstants]
  Gets the space below setting.
publicstatic TabSet getTabSet (AttributeSet a) [Inherited From StyleConstants]
  Gets the TabSet.
publicstatic boolean isBold (AttributeSet a) [Inherited From StyleConstants]
  Checks whether the bold attribute is set.
publicstatic boolean isItalic (AttributeSet a) [Inherited From StyleConstants]
  Checks whether the italic attribute is set.
publicstatic boolean isStrikeThrough (AttributeSet a) [Inherited From StyleConstants]
  Checks whether the strikethrough attribute is set.
publicstatic boolean isSubscript (AttributeSet a) [Inherited From StyleConstants]
  Checks whether the subscript attribute is set.
publicstatic boolean isSuperscript (AttributeSet a) [Inherited From StyleConstants]
  Checks whether the superscript attribute is set.
publicstatic boolean isUnderline (AttributeSet a) [Inherited From StyleConstants]
  Checks whether the underline attribute is set.
publicstatic void setAlignment (MutableAttributeSet a, int align) [Inherited From StyleConstants]
  Sets alignment.
publicstatic void setBackground (MutableAttributeSet a, Color fg) [Inherited From StyleConstants]
  Sets the background color.
publicstatic void setBidiLevel (MutableAttributeSet a, int o) [Inherited From StyleConstants]
  Sets the BidiLevel.
publicstatic void setBold (MutableAttributeSet a, boolean b) [Inherited From StyleConstants]
  Sets the bold attribute.
publicstatic void setComponent (MutableAttributeSet a, Component c) [Inherited From StyleConstants]
  Sets the component attribute.
publicstatic void setFirstLineIndent (MutableAttributeSet a, float i) [Inherited From StyleConstants]
  Sets the first line indent.
publicstatic void setFontFamily (MutableAttributeSet a, String fam) [Inherited From StyleConstants]
  Sets the font attribute.
publicstatic void setFontSize (MutableAttributeSet a, int s) [Inherited From StyleConstants]
  Sets the font size attribute.
publicstatic void setForeground (MutableAttributeSet a, Color fg) [Inherited From StyleConstants]
  Sets the foreground color.
publicstatic void setIcon (MutableAttributeSet a, Icon c) [Inherited From StyleConstants]
  Sets the icon attribute.
publicstatic void setItalic (MutableAttributeSet a, boolean b) [Inherited From StyleConstants]
  Sets the italic attribute.
publicstatic void setLeftIndent (MutableAttributeSet a, float i) [Inherited From StyleConstants]
  Sets left indent.
publicstatic void setLineSpacing (MutableAttributeSet a, float i) [Inherited From StyleConstants]
  Sets line spacing.
publicstatic void setRightIndent (MutableAttributeSet a, float i) [Inherited From StyleConstants]
  Sets right indent.
publicstatic void setSpaceAbove (MutableAttributeSet a, float i) [Inherited From StyleConstants]
  Sets space above.
publicstatic void setSpaceBelow (MutableAttributeSet a, float i) [Inherited From StyleConstants]
  Sets space below.
publicstatic void setStrikeThrough (MutableAttributeSet a, boolean b) [Inherited From StyleConstants]
  Sets the strikethrough attribute.
publicstatic void setSubscript (MutableAttributeSet a, boolean b) [Inherited From StyleConstants]
  Sets the subscript attribute.
publicstatic void setSuperscript (MutableAttributeSet a, boolean b) [Inherited From StyleConstants]
  Sets the superscript attribute.
publicstatic void setTabSet (MutableAttributeSet a, TabSet tabs) [Inherited From StyleConstants]
  Sets the TabSet.
publicstatic void setUnderline (MutableAttributeSet a, boolean b) [Inherited From StyleConstants]
  Sets the underline attribute.
public String toString () [Inherited From StyleConstants]
  Returns the string representation.
Fields
Hide/Show inherited fields
publicfinalstatic int ALIGN_CENTER = "1" [Inherited From StyleConstants]
  A possible value for paragraph alignment.
publicfinalstatic int ALIGN_JUSTIFIED = "3" [Inherited From StyleConstants]
  A possible value for paragraph alignment.
publicfinalstatic int ALIGN_LEFT = "0" [Inherited From StyleConstants]
  A possible value for paragraph alignment.
publicfinalstatic int ALIGN_RIGHT = "2" [Inherited From StyleConstants]
  A possible value for paragraph alignment.
publicfinalstatic Object Alignment [Inherited From StyleConstants]
  Alignment for the paragraph.
publicfinalstatic Object Background [Inherited From StyleConstants]
Name of the background color attribute.
publicfinalstatic Object BidiLevel [Inherited From StyleConstants]
Bidirectional level of a character as assigned by the Unicode bidi algorithm.
publicfinalstatic Object Bold [Inherited From StyleConstants]
Name of the bold attribute.
publicfinalstatic Object ComponentAttribute [Inherited From StyleConstants]
Name of the component attribute.
publicfinalstatic String ComponentElementName = "component" [Inherited From StyleConstants]
Name of elements used to represent components.
publicfinalstatic Object ComposedTextAttribute [Inherited From StyleConstants]
  Name of the input method composed text attribute.
publicfinalstatic Object Family [Inherited From StyleConstants]
  Name of the font family.
publicfinalstatic Object FirstLineIndent [Inherited From StyleConstants]
  The amount of space to indent the first line of the paragraph.
publicfinalstatic Object FontFamily [Inherited From StyleConstants]
Name of the font family.
publicfinalstatic Object FontSize [Inherited From StyleConstants]
Name of the font size.
publicfinalstatic Object Foreground [Inherited From StyleConstants]
Name of the foreground color attribute.
publicfinalstatic Object IconAttribute [Inherited From StyleConstants]
Name of the icon attribute.
publicfinalstatic String IconElementName = "icon" [Inherited From StyleConstants]
Name of elements used to represent icons.
publicfinalstatic Object Italic [Inherited From StyleConstants]
Name of the italic attribute.
pack-privatestatic Object keys [Inherited From StyleConstants]
publicfinalstatic Object LeftIndent [Inherited From StyleConstants]
  The amount to indent the left side of the paragraph.
publicfinalstatic Object LineSpacing [Inherited From StyleConstants]
  The amount of space between lines of the paragraph.
publicfinalstatic Object ModelAttribute [Inherited From StyleConstants]
Attribute used to identify the model for embedded objects that have a model view separation.
publicfinalstatic Object NameAttribute [Inherited From StyleConstants]
Attribute name used to name the collection of attributes.
publicfinalstatic Object Orientation [Inherited From StyleConstants]
Orientation for a paragraph.
publicfinalstatic Object ResolveAttribute [Inherited From StyleConstants]
Attribute name used to identifiy the resolving parent set of attributes, if one is defined.
publicfinalstatic Object RightIndent [Inherited From StyleConstants]
  The amount to indent the right side of the paragraph.
publicfinalstatic Object Size [Inherited From StyleConstants]
  Name of the font size.
publicfinalstatic Object SpaceAbove [Inherited From StyleConstants]
  The amount of space above the paragraph.
publicfinalstatic Object SpaceBelow [Inherited From StyleConstants]
  The amount of space below the paragraph.
publicfinalstatic Object StrikeThrough [Inherited From StyleConstants]
Name of the Strikethrough attribute.
publicfinalstatic Object Subscript [Inherited From StyleConstants]
Name of the Subscript attribute.
publicfinalstatic Object Superscript [Inherited From StyleConstants]
Name of the Superscript attribute.
publicfinalstatic Object TabSet [Inherited From StyleConstants]
TabSet for the paragraph, type is a TabSet containing TabStops.
publicfinalstatic Object Underline [Inherited From StyleConstants]
Name of the underline attribute.
Nested Classes
  StyleConstants.ParagraphConstants
This is a typesafe enumeration of the well-known attributes that contribute to a paragraph style.
  StyleConstants.CharacterConstants
This is a typesafe enumeration of the well-known attributes that contribute to a character style.
  StyleConstants.ColorConstants
This is a typesafe enumeration of the well-known attributes that contribute to a color.
  StyleConstants.FontConstants
This is a typesafe enumeration of the well-known attributes that contribute to a font.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar