pivot.wtk
Class Component.StyleDictionary
java.lang.Object
pivot.beans.BeanDictionary
pivot.wtk.Component.StyleDictionary
- All Implemented Interfaces:
- Iterable<String>, Dictionary<String,Object>
- Enclosing class:
- Component
public final class Component.StyleDictionary
- extends BeanDictionary
Style dictionary implementation.
- Author:
- gbrown
Methods inherited from class pivot.beans.BeanDictionary |
containsKey, get, getBean, getGetterMethod, getSetterMethod, getType, getType, isEmpty, isReadOnly, isReadOnly, iterator, remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
put
public Object put(String key,
Object value)
- Description copied from class:
BeanDictionary
- Invokes the a setter method for the given property. The method
signature is determined by the type of the value. If the value is
null, the return type of the getter method is used.
- Specified by:
put
in interface Dictionary<String,Object>
- Overrides:
put
in class BeanDictionary
- Parameters:
key
- The property name.value
- The new property value.
- Returns:
- Returns null, since returning the previous value would require
a call to the getter method, which may not be an efficient operation.