|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.text.StyleContext.KeyBuilder
Sorts the key strings so that they can be very quickly compared in the attribute set searchs.
Field Summary | |
private Vector |
data
|
private Vector |
keys
|
Constructor Summary | |
(package private) |
StyleContext.KeyBuilder()
|
Method Summary | |
void |
addAttribute(Object key,
Object value)
Adds a key/value to the set. |
void |
addAttributes(AttributeSet attr)
Adds a set of key/value pairs to the set. |
Object[] |
createTable()
Creates a table of sorted key/value entries suitable for creation of an instance of SmallAttributeSet. |
(package private) int |
getCount()
The number of key/value pairs contained in the current key being forged. |
void |
initialize(AttributeSet a)
|
private void |
initialize(Object[] sorted)
Initialize with a set of already sorted keys (data from an existing SmallAttributeSet). |
void |
removeAttribute(Object key)
Removes the given name from the set. |
void |
removeAttributes(AttributeSet attr)
Removes the set of matching attributes from the set. |
void |
removeAttributes(Enumeration names)
Removes the set of keys from the set. |
private void |
removeSearchAttribute(Object ikey,
Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Vector keys
private Vector data
Constructor Detail |
StyleContext.KeyBuilder()
Method Detail |
public void initialize(AttributeSet a)
private void initialize(Object[] sorted)
public Object[] createTable()
int getCount()
public void addAttribute(Object key, Object value)
public void addAttributes(AttributeSet attr)
public void removeAttribute(Object key)
public void removeAttributes(Enumeration names)
public void removeAttributes(AttributeSet attr)
private void removeSearchAttribute(Object ikey, Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |