TopBlend: Here is the first difference. There are 5 differences. is old. is new.

javax.swing.text
Class StyleConstants.CharacterConstants


java.lang.Object
  extended by javax.swing.text.StyleConstants
      extended by javax.swing.text.StyleConstants.CharacterConstants
All Implemented Interfaces:
AttributeSet.CharacterAttribute
Enclosing class:
StyleConstants

public static class StyleConstants.CharacterConstants
extends StyleConstants
implements AttributeSet.CharacterAttribute

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


Nested Class Summary
 
Nested classes inherited from class javax.swing.text. StyleConstants
StyleConstants.CharacterConstants , StyleConstants.ColorConstants , StyleConstants.FontConstants , StyleConstants.ParagraphConstants
 
Field Summary
static  Object Background
          Name of the background color attribute.
static  Object BidiLevel
          Bidirectional level of a character as assigned by the Unicode bidi algorithm.
static  Object Bold
          Name of the bold attribute.
static  Object ComponentAttribute
          Name of the component attribute.
static  Object Family
          Name of the font family.
static  Object Foreground
          Name of the foreground color attribute.
static  Object IconAttribute
          Name of the icon attribute.
static  Object Italic
          Name of the italic attribute.
static  Object Size
          Name of the font size.
static  Object StrikeThrough
          Name of the strikethrough attribute.
static  Object Subscript
          Name of the subscript attribute.
static  Object Superscript
          Name of the superscript attribute.
static  Object Underline
          Name of the underline attribute.
 
Fields inherited from class javax.swing.text. 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
 
Method Summary
 
Methods inherited from class 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
 
Methods inherited from class java.lang. Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

Field Detail

Underline


 
public static final ObjectUnderline 
Name of the underline attribute.


StrikeThrough


 
public static final ObjectStrikeThrough 
Name of the strikethrough attribute.


Superscript


 
public static final ObjectSuperscript 
Name of the superscript attribute.


Subscript


 
public static final ObjectSubscript 
Name of the subscript attribute.


ComponentAttribute


 
public static final ObjectComponentAttribute 
Name of the component attribute.


IconAttribute


 
public static final ObjectIconAttribute 
Name of the icon attribute.


BidiLevel


 
public static final ObjectBidiLevel 
Bidirectional level of a character as assigned by the Unicode bidi algorithm.


Family


 
public static final ObjectFamily 
Name of the font family.


Size


 
public static final ObjectSize 
Name of the font size.


Bold


 
public static final ObjectBold 
Name of the bold attribute.


Italic


 
public static final ObjectItalic 
Name of the italic attribute.


Foreground


 
public static final ObjectForeground 
Name of the foreground color attribute.


Background


 
public static final ObjectBackground 
Name of the background color attribute.