Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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.


Constructor Summary
AttributeMapProxy()
           
 
Method Summary
 java.util.Enumeration attributeKeys(RenderingContext context)
          Returns an Enumeration of all of the AttributeKeys in the AttributeMap that values exist for.
protected  AttributeMap getAccessorAttributeMap(RenderingContext context)
           
 java.lang.Object getAttribute(RenderingContext context, AttributeKey key)
          Returns the value in the AttributeMap specified by the key.
protected  AttributeMap getAttributeMap(RenderingContext context)
           
protected  AttributeMap getMutatorAttributeMap()
           
 void setAttribute(AttributeKey key, java.lang.Object value)
          Sets an attribute value specified by the key to the new value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeMapProxy

public AttributeMapProxy()
Method Detail

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

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.