KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwtx > swing > text > StyleConstants


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: StyleConstants.java,v $
11    Revision 1.2 2004/04/26 13:36:58 bobintetley
12    Additional constants
13
14    Revision 1.1 2004/02/12 09:55:53 bobintetley
15    JEditorPane Document support
16
17 */

18 package swingwtx.swing.text;
19
20 /**
21  * @author Marco Hennings
22  */

23 public class StyleConstants {
24     
25     public static final Object JavaDoc NameAttribute = "name";
26     public static final Object JavaDoc ResolveAttribute = "resolve";
27     
28     public static class FontConstants {
29         public static final Object JavaDoc Family = "familiy";
30         public static final Object JavaDoc Size ="size";
31         public static final Object JavaDoc Bold = "bold";
32         public static final Object JavaDoc Italic = "italic";
33     }
34     
35     public static class ColorConstants {
36         public static final Object JavaDoc Foreground = "foreground";
37         public static final Object JavaDoc Background = "background";
38     }
39     
40 }
41
Popular Tags