KickJava   Java API By Example, From Geeks To Geeks.

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


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: AttributeSet.java,v $
11    Revision 1.2 2004/04/26 13:36:58 bobintetley
12    Additional constants
13
14    Revision 1.1 2004/01/26 08:11:14 bobintetley
15    Many bugfixes and addition of SwingSet
16
17  
18  */

19
20 package swingwtx.swing.text;
21
22 import java.util.Enumeration JavaDoc;
23
24 public interface AttributeSet {
25     
26     public static final Object JavaDoc NameAttribute = StyleConstants.NameAttribute;
27     public static final Object JavaDoc ResolveAttribute = StyleConstants.ResolveAttribute;
28     
29     public interface FontAttribute {
30     }
31     public interface ColorAttribute {
32     }
33     public interface CharacterAttribute {
34     }
35     public interface ParagraphAttribute {
36     }
37     public int getAttributeCount();
38     public boolean isDefined(Object JavaDoc attrName);
39     public boolean isEqual(AttributeSet attr);
40     public AttributeSet copyAttributes();
41     public Object JavaDoc getAttribute(Object JavaDoc key);
42     public Enumeration JavaDoc getAttributeNames();
43     public boolean containsAttribute(Object JavaDoc name, Object JavaDoc value);
44     public boolean containsAttributes(AttributeSet attributes);
45     public AttributeSet getResolveParent();
46 }
47
Popular Tags