Home » openjdk-7 » javax » swing » text » [javadoc | source]
class: StyleContext.KeyBuilder [javadoc | source]
Sorts the key strings so that they can be very quickly compared in the attribute set searchs.
Method from javax.swing.text.StyleContext$KeyBuilder Summary:
addAttribute,   addAttributes,   createTable,   getCount,   initialize,   removeAttribute,   removeAttributes,   removeAttributes
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.StyleContext$KeyBuilder Detail:
 public  void addAttribute(Object key,
    Object value) 
    Adds a key/value to the set.
 public  void addAttributes(AttributeSet attr) 
    Adds a set of key/value pairs to the set.
 public Object[] createTable() 
    Creates a table of sorted key/value entries suitable for creation of an instance of SmallAttributeSet.
 int getCount() 
    The number of key/value pairs contained in the current key being forged.
 public  void initialize(AttributeSet a) 
 public  void removeAttribute(Object key) 
    Removes the given name from the set.
 public  void removeAttributes(Enumeration names) 
    Removes the set of keys from the set.
 public  void removeAttributes(AttributeSet attr) 
    Removes the set of matching attributes from the set.