home *** CD-ROM | disk | FTP | other *** search
- package com.sun.java.swing.text;
-
- import com.sun.java.swing.text.StyleConstants.ColorConstants;
- import com.sun.java.swing.text.StyleConstants.FontConstants;
-
- public class StyleConstants$CharacterConstants implements AttributeSet.CharacterAttribute {
- public static final Object Underline = new StyleConstants$CharacterConstants("underline");
- public static final Object ComponentAttribute = new StyleConstants$CharacterConstants("component");
- public static final Object IconAttribute = new StyleConstants$CharacterConstants("icon");
- public static final Object Family;
- public static final Object Size;
- public static final Object Bold;
- public static final Object Italic;
- public static final Object Foreground;
- public static final Object Background;
- private String representation;
-
- public String toString() {
- return this.representation;
- }
-
- private StyleConstants$CharacterConstants(String var1) {
- this.representation = var1;
- }
-
- static {
- Family = FontConstants.Family;
- Size = FontConstants.Size;
- Bold = FontConstants.Bold;
- Italic = FontConstants.Italic;
- Foreground = ColorConstants.Foreground;
- Background = ColorConstants.Background;
- }
- }
-