javax.swing.text
Class StyleConstants.ColorConstants

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.text.StyleConstants sample code for javax.swing.text.StyleConstants definition code for javax.swing.text.StyleConstants 
      extended by javax.swing.text.StyleConstants.ColorConstants
All Implemented Interfaces:
AttributeSet.CharacterAttribute sample code for javax.swing.text.AttributeSet.CharacterAttribute definition code for javax.swing.text.AttributeSet.CharacterAttribute , AttributeSet.ColorAttribute sample code for javax.swing.text.AttributeSet.ColorAttribute definition code for javax.swing.text.AttributeSet.ColorAttribute
Enclosing class:
StyleConstants sample code for javax.swing.text.StyleConstants definition code for javax.swing.text.StyleConstants

public static class StyleConstants.ColorConstants
extends StyleConstants sample code for javax.swing.text.StyleConstants definition code for javax.swing.text.StyleConstants
implements AttributeSet.ColorAttribute sample code for javax.swing.text.AttributeSet.ColorAttribute definition code for javax.swing.text.AttributeSet.ColorAttribute , AttributeSet.CharacterAttribute sample code for javax.swing.text.AttributeSet.CharacterAttribute definition code for javax.swing.text.AttributeSet.CharacterAttribute

This is a typesafe enumeration of the well-known attributes that contribute to a color. These are aliased by the outer class for general presentation.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.text.StyleConstants sample code for javax.swing.text.StyleConstants definition code for javax.swing.text.StyleConstants
StyleConstants.CharacterConstants sample code for javax.swing.text.StyleConstants.CharacterConstants definition code for javax.swing.text.StyleConstants.CharacterConstants , StyleConstants.ColorConstants sample code for javax.swing.text.StyleConstants.ColorConstants definition code for javax.swing.text.StyleConstants.ColorConstants , StyleConstants.FontConstants sample code for javax.swing.text.StyleConstants.FontConstants definition code for javax.swing.text.StyleConstants.FontConstants , StyleConstants.ParagraphConstants sample code for javax.swing.text.StyleConstants.ParagraphConstants definition code for javax.swing.text.StyleConstants.ParagraphConstants
 
Field Summary
 
Fields inherited from class javax.swing.text.StyleConstants sample code for javax.swing.text.StyleConstants definition code for javax.swing.text.StyleConstants
ALIGN_CENTER sample code for javax.swing.text.StyleConstants.ALIGN_CENTER definition code for javax.swing.text.StyleConstants.ALIGN_CENTER , ALIGN_JUSTIFIED sample code for javax.swing.text.StyleConstants.ALIGN_JUSTIFIED definition code for javax.swing.text.StyleConstants.ALIGN_JUSTIFIED , ALIGN_LEFT sample code for javax.swing.text.StyleConstants.ALIGN_LEFT definition code for javax.swing.text.StyleConstants.ALIGN_LEFT , ALIGN_RIGHT sample code for javax.swing.text.StyleConstants.ALIGN_RIGHT definition code for javax.swing.text.StyleConstants.ALIGN_RIGHT , Alignment sample code for javax.swing.text.StyleConstants.Alignment definition code for javax.swing.text.StyleConstants.Alignment , Background sample code for javax.swing.text.StyleConstants.Background definition code for javax.swing.text.StyleConstants.Background , BidiLevel sample code for javax.swing.text.StyleConstants.BidiLevel definition code for javax.swing.text.StyleConstants.BidiLevel , Bold sample code for javax.swing.text.StyleConstants.Bold definition code for javax.swing.text.StyleConstants.Bold , ComponentAttribute sample code for javax.swing.text.StyleConstants.ComponentAttribute definition code for javax.swing.text.StyleConstants.ComponentAttribute , ComponentElementName sample code for javax.swing.text.StyleConstants.ComponentElementName definition code for javax.swing.text.StyleConstants.ComponentElementName , ComposedTextAttribute sample code for javax.swing.text.StyleConstants.ComposedTextAttribute definition code for javax.swing.text.StyleConstants.ComposedTextAttribute , Family sample code for javax.swing.text.StyleConstants.Family definition code for javax.swing.text.StyleConstants.Family , FirstLineIndent sample code for javax.swing.text.StyleConstants.FirstLineIndent definition code for javax.swing.text.StyleConstants.FirstLineIndent , FontFamily sample code for javax.swing.text.StyleConstants.FontFamily definition code for javax.swing.text.StyleConstants.FontFamily , FontSize sample code for javax.swing.text.StyleConstants.FontSize definition code for javax.swing.text.StyleConstants.FontSize , Foreground sample code for javax.swing.text.StyleConstants.Foreground definition code for javax.swing.text.StyleConstants.Foreground , IconAttribute sample code for javax.swing.text.StyleConstants.IconAttribute definition code for javax.swing.text.StyleConstants.IconAttribute , IconElementName sample code for javax.swing.text.StyleConstants.IconElementName definition code for javax.swing.text.StyleConstants.IconElementName , Italic sample code for javax.swing.text.StyleConstants.Italic definition code for javax.swing.text.StyleConstants.Italic , LeftIndent sample code for javax.swing.text.StyleConstants.LeftIndent definition code for javax.swing.text.StyleConstants.LeftIndent , LineSpacing sample code for javax.swing.text.StyleConstants.LineSpacing definition code for javax.swing.text.StyleConstants.LineSpacing , ModelAttribute sample code for javax.swing.text.StyleConstants.ModelAttribute definition code for javax.swing.text.StyleConstants.ModelAttribute , NameAttribute sample code for javax.swing.text.StyleConstants.NameAttribute definition code for javax.swing.text.StyleConstants.NameAttribute , Orientation sample code for javax.swing.text.StyleConstants.Orientation definition code for javax.swing.text.StyleConstants.Orientation , ResolveAttribute sample code for javax.swing.text.StyleConstants.ResolveAttribute definition code for javax.swing.text.StyleConstants.ResolveAttribute , RightIndent sample code for javax.swing.text.StyleConstants.RightIndent definition code for javax.swing.text.StyleConstants.RightIndent , Size sample code for javax.swing.text.StyleConstants.Size definition code for javax.swing.text.StyleConstants.Size , SpaceAbove sample code for javax.swing.text.StyleConstants.SpaceAbove definition code for javax.swing.text.StyleConstants.SpaceAbove , SpaceBelow sample code for javax.swing.text.StyleConstants.SpaceBelow definition code for javax.swing.text.StyleConstants.SpaceBelow , StrikeThrough sample code for javax.swing.text.StyleConstants.StrikeThrough definition code for javax.swing.text.StyleConstants.StrikeThrough , Subscript sample code for javax.swing.text.StyleConstants.Subscript definition code for javax.swing.text.StyleConstants.Subscript , Superscript sample code for javax.swing.text.StyleConstants.Superscript definition code for javax.swing.text.StyleConstants.Superscript , TabSet sample code for javax.swing.text.StyleConstants.TabSet definition code for javax.swing.text.StyleConstants.TabSet , Underline sample code for javax.swing.text.StyleConstants.Underline definition code for javax.swing.text.StyleConstants.Underline
 
Method Summary
 
Methods inherited from class javax.swing.text.StyleConstants sample code for javax.swing.text.StyleConstants definition code for javax.swing.text.StyleConstants
getAlignment sample code for javax.swing.text.StyleConstants.getAlignment(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getAlignment(javax.swing.text.AttributeSet) , getBackground sample code for javax.swing.text.StyleConstants.getBackground(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getBackground(javax.swing.text.AttributeSet) , getBidiLevel sample code for javax.swing.text.StyleConstants.getBidiLevel(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getBidiLevel(javax.swing.text.AttributeSet) , getComponent sample code for javax.swing.text.StyleConstants.getComponent(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getComponent(javax.swing.text.AttributeSet) , getFirstLineIndent sample code for javax.swing.text.StyleConstants.getFirstLineIndent(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getFirstLineIndent(javax.swing.text.AttributeSet) , getFontFamily sample code for javax.swing.text.StyleConstants.getFontFamily(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getFontFamily(javax.swing.text.AttributeSet) , getFontSize sample code for javax.swing.text.StyleConstants.getFontSize(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getFontSize(javax.swing.text.AttributeSet) , getForeground sample code for javax.swing.text.StyleConstants.getForeground(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getForeground(javax.swing.text.AttributeSet) , getIcon sample code for javax.swing.text.StyleConstants.getIcon(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getIcon(javax.swing.text.AttributeSet) , getLeftIndent sample code for javax.swing.text.StyleConstants.getLeftIndent(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getLeftIndent(javax.swing.text.AttributeSet) , getLineSpacing sample code for javax.swing.text.StyleConstants.getLineSpacing(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getLineSpacing(javax.swing.text.AttributeSet) , getRightIndent sample code for javax.swing.text.StyleConstants.getRightIndent(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getRightIndent(javax.swing.text.AttributeSet) , getSpaceAbove sample code for javax.swing.text.StyleConstants.getSpaceAbove(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getSpaceAbove(javax.swing.text.AttributeSet) , getSpaceBelow sample code for javax.swing.text.StyleConstants.getSpaceBelow(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getSpaceBelow(javax.swing.text.AttributeSet) , getTabSet sample code for javax.swing.text.StyleConstants.getTabSet(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.getTabSet(javax.swing.text.AttributeSet) , isBold sample code for javax.swing.text.StyleConstants.isBold(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.isBold(javax.swing.text.AttributeSet) , isItalic sample code for javax.swing.text.StyleConstants.isItalic(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.isItalic(javax.swing.text.AttributeSet) , isStrikeThrough sample code for javax.swing.text.StyleConstants.isStrikeThrough(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.isStrikeThrough(javax.swing.text.AttributeSet) , isSubscript sample code for javax.swing.text.StyleConstants.isSubscript(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.isSubscript(javax.swing.text.AttributeSet) , isSuperscript sample code for javax.swing.text.StyleConstants.isSuperscript(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.isSuperscript(javax.swing.text.AttributeSet) , isUnderline sample code for javax.swing.text.StyleConstants.isUnderline(javax.swing.text.AttributeSet) definition code for javax.swing.text.StyleConstants.isUnderline(javax.swing.text.AttributeSet) , setAlignment sample code for javax.swing.text.StyleConstants.setAlignment(javax.swing.text.MutableAttributeSet, int) definition code for javax.swing.text.StyleConstants.setAlignment(javax.swing.text.MutableAttributeSet, int) , setBackground sample code for javax.swing.text.StyleConstants.setBackground(javax.swing.text.MutableAttributeSet, java.awt.Color) definition code for javax.swing.text.StyleConstants.setBackground(javax.swing.text.MutableAttributeSet, java.awt.Color) , setBidiLevel sample code for javax.swing.text.StyleConstants.setBidiLevel(javax.swing.text.MutableAttributeSet, int) definition code for javax.swing.text.StyleConstants.setBidiLevel(javax.swing.text.MutableAttributeSet, int) , setBold sample code for javax.swing.text.StyleConstants.setBold(javax.swing.text.MutableAttributeSet, boolean) definition code for javax.swing.text.StyleConstants.setBold(javax.swing.text.MutableAttributeSet, boolean) , setComponent sample code for javax.swing.text.StyleConstants.setComponent(javax.swing.text.MutableAttributeSet, java.awt.Component) definition code for javax.swing.text.StyleConstants.setComponent(javax.swing.text.MutableAttributeSet, java.awt.Component) , setFirstLineIndent sample code for javax.swing.text.StyleConstants.setFirstLineIndent(javax.swing.text.MutableAttributeSet, float) definition code for javax.swing.text.StyleConstants.setFirstLineIndent(javax.swing.text.MutableAttributeSet, float) , setFontFamily sample code for javax.swing.text.StyleConstants.setFontFamily(javax.swing.text.MutableAttributeSet, java.lang.String) definition code for javax.swing.text.StyleConstants.setFontFamily(javax.swing.text.MutableAttributeSet, java.lang.String) , setFontSize sample code for javax.swing.text.StyleConstants.setFontSize(javax.swing.text.MutableAttributeSet, int) definition code for javax.swing.text.StyleConstants.setFontSize(javax.swing.text.MutableAttributeSet, int) , setForeground sample code for javax.swing.text.StyleConstants.setForeground(javax.swing.text.MutableAttributeSet, java.awt.Color) definition code for javax.swing.text.StyleConstants.setForeground(javax.swing.text.MutableAttributeSet, java.awt.Color) , setIcon sample code for javax.swing.text.StyleConstants.setIcon(javax.swing.text.MutableAttributeSet, javax.swing.Icon) definition code for javax.swing.text.StyleConstants.setIcon(javax.swing.text.MutableAttributeSet, javax.swing.Icon) , setItalic sample code for javax.swing.text.StyleConstants.setItalic(javax.swing.text.MutableAttributeSet, boolean) definition code for javax.swing.text.StyleConstants.setItalic(javax.swing.text.MutableAttributeSet, boolean) , setLeftIndent sample code for javax.swing.text.StyleConstants.setLeftIndent(javax.swing.text.MutableAttributeSet, float) definition code for javax.swing.text.StyleConstants.setLeftIndent(javax.swing.text.MutableAttributeSet, float) , setLineSpacing sample code for javax.swing.text.StyleConstants.setLineSpacing(javax.swing.text.MutableAttributeSet, float) definition code for javax.swing.text.StyleConstants.setLineSpacing(javax.swing.text.MutableAttributeSet, float) , setRightIndent sample code for javax.swing.text.StyleConstants.setRightIndent(javax.swing.text.MutableAttributeSet, float) definition code for javax.swing.text.StyleConstants.setRightIndent(javax.swing.text.MutableAttributeSet, float) , setSpaceAbove sample code for javax.swing.text.StyleConstants.setSpaceAbove(javax.swing.text.MutableAttributeSet, float) definition code for javax.swing.text.StyleConstants.setSpaceAbove(javax.swing.text.MutableAttributeSet, float) , setSpaceBelow sample code for javax.swing.text.StyleConstants.setSpaceBelow(javax.swing.text.MutableAttributeSet, float) definition code for javax.swing.text.StyleConstants.setSpaceBelow(javax.swing.text.MutableAttributeSet, float) , setStrikeThrough sample code for javax.swing.text.StyleConstants.setStrikeThrough(javax.swing.text.MutableAttributeSet, boolean) definition code for javax.swing.text.StyleConstants.setStrikeThrough(javax.swing.text.MutableAttributeSet, boolean) , setSubscript sample code for javax.swing.text.StyleConstants.setSubscript(javax.swing.text.MutableAttributeSet, boolean) definition code for javax.swing.text.StyleConstants.setSubscript(javax.swing.text.MutableAttributeSet, boolean) , setSuperscript sample code for javax.swing.text.StyleConstants.setSuperscript(javax.swing.text.MutableAttributeSet, boolean) definition code for javax.swing.text.StyleConstants.setSuperscript(javax.swing.text.MutableAttributeSet, boolean) , setTabSet sample code for javax.swing.text.StyleConstants.setTabSet(javax.swing.text.MutableAttributeSet, javax.swing.text.TabSet) definition code for javax.swing.text.StyleConstants.setTabSet(javax.swing.text.MutableAttributeSet, javax.swing.text.TabSet) , setUnderline sample code for javax.swing.text.StyleConstants.setUnderline(javax.swing.text.MutableAttributeSet, boolean) definition code for javax.swing.text.StyleConstants.setUnderline(javax.swing.text.MutableAttributeSet, boolean) , toString sample code for javax.swing.text.StyleConstants.toString() definition code for javax.swing.text.StyleConstants.toString()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)