1 19 20 package swingwtx.swing.text; 21 22 import java.util.Enumeration ; 23 24 public interface AttributeSet { 25 26 public static final Object NameAttribute = StyleConstants.NameAttribute; 27 public static final Object 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 attrName); 39 public boolean isEqual(AttributeSet attr); 40 public AttributeSet copyAttributes(); 41 public Object getAttribute(Object key); 42 public Enumeration getAttributeNames(); 43 public boolean containsAttribute(Object name, Object value); 44 public boolean containsAttributes(AttributeSet attributes); 45 public AttributeSet getResolveParent(); 46 } 47 | Popular Tags |