oracle.cabo.ui.collection
Class AttributeMapProxy
java.lang.Object
|
+--oracle.cabo.ui.collection.AttributeMapProxy
- All Implemented Interfaces:
- AttributeMap
- Direct Known Subclasses:
- FixedDelegatingAttributeMap
- public abstract class AttributeMapProxy
- extends java.lang.Object
- implements AttributeMap
AttributeMap that proxies to either one other AttributeMap, or
separate AttributeMaps for gets and sets. Subclassers that
need to delegate both sets and gets to one AttribtueMap should
override getAttributeMap
, while those that need
to delegate to separate accessor and mutator AttributeMaps should
override both getAccessorAttributeMap
and
getMutatorAttributeMap
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeMapProxy
public AttributeMapProxy()
getAttributeMap
protected AttributeMap getAttributeMap(RenderingContext context)
getAccessorAttributeMap
protected AttributeMap getAccessorAttributeMap(RenderingContext context)
getMutatorAttributeMap
protected AttributeMap getMutatorAttributeMap()
getAttribute
public java.lang.Object getAttribute(RenderingContext context,
AttributeKey key)
- Description copied from interface:
AttributeMap
- Returns the value in the AttributeMap specified by the key.
- Specified by:
getAttribute
in interface AttributeMap
setAttribute
public void setAttribute(AttributeKey key,
java.lang.Object value)
- Description copied from interface:
AttributeMap
- Sets an attribute value specified by the key to the new value.
- Specified by:
setAttribute
in interface AttributeMap
attributeKeys
public java.util.Enumeration attributeKeys(RenderingContext context)
- Description copied from interface:
AttributeMap
- Returns an Enumeration of all of the AttributeKeys in the AttributeMap
that values exist for.
- Specified by:
attributeKeys
in interface AttributeMap