|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.AttributeKey
Key class used to quickly retrieve attribute values from UINodes and AttributeMaps.
AttributeKeys can not be instantiated directly, instead, the factory
method getAttributeKey
is called with the name of the
AttributeKey to retrieve.
AttributeKeys have two performance advantages over Strings when used as keys.
AttributeMap
,
UINode.getAttributeValue(oracle.cabo.ui.RenderingContext, oracle.cabo.ui.AttributeKey)
,
MutableUINode.setAttributeValue(oracle.cabo.ui.AttributeKey, java.lang.Object)
Method Summary | |
boolean |
equals(java.lang.Object otherObject)
|
int |
getAttributeIndex()
Returns the 0-based index of this AttributeKey, or -1 if the AttributeKey has no index. |
static AttributeKey |
getAttributeKey(java.lang.String attrName)
Returns an AttributeKey for the given name, creating the AttributeKey instance if necessary. |
java.lang.String |
getAttributeName()
Returns the name of this AttributeKey. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public static AttributeKey getAttributeKey(java.lang.String attrName)
AttributeKeys created by this method do not have indices.
public int getAttributeIndex()
public java.lang.String getAttributeName()
getAttributeKey
.
getAttributeKey(java.lang.String)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object otherObject)
equals
in class java.lang.Object
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |