pivot.wtk
Class Component.StyleDictionary

java.lang.Object
  extended by pivot.beans.BeanDictionary
      extended by 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

Field Summary
 
Fields inherited from class pivot.beans.BeanDictionary
GET_PREFIX, IS_PREFIX, LISTENERS_SUFFIX, SET_PREFIX
 
Method Summary
 Object put(String key, Object value)
          Invokes the a setter method for the given property.
 
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
 

Method Detail

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.