|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.Component.StyleDictionary
public final class Component.StyleDictionary
Style dictionary implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Dictionary |
---|
Dictionary.Pair<K,V> |
Method Summary | |
---|---|
boolean |
containsKey(String key)
Tests the existence of a key in the dictionary. |
Object |
get(String key)
Retrieves the value for the given key. |
Class<?> |
getType(String key)
|
boolean |
isReadOnly(String key)
|
Iterator<String> |
iterator()
|
Object |
put(String key,
Object value)
Stores the supplied value for the specified style. |
Object |
remove(String key)
Removes a key/value pair from the map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Object get(String key)
Dictionary
get
in interface Dictionary<String,Object>
key
- The key whose value is to be returned.
public Object put(String key, Object value)
null
due to the use of BeanAdapter to set the the new
value. (BeanAdapter does not look up the previous value for
performance reasons)
put
in interface Dictionary<String,Object>
key
- Style whose value will be overwrittenvalue
- Value to be stored
BeanAdapter.put(String, Object)
public Object remove(String key)
Dictionary
remove
in interface Dictionary<String,Object>
key
- The key whose mapping is to be removed.
public boolean containsKey(String key)
Dictionary
containsKey
in interface Dictionary<String,Object>
key
- The key whose presence in the dictionary is to be tested.
public boolean isReadOnly(String key)
public Class<?> getType(String key)
public Iterator<String> iterator()
iterator
in interface Iterable<String>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |