|
UIX 2.2.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.data.bind.NestedBoundValue
This BoundValue is constructed with other BoundValues. It uses the getValue(..)s of the other BoundValues to construct its own value.
Constructor Summary | |
NestedBoundValue(java.lang.Object key) The key will be used to select a value from the current data object on the RenderingContext |
|
NestedBoundValue(java.lang.Object key, BoundValue dataObject) |
Method Summary | |
java.lang.Object |
getValue(RenderingContext context) if any of the bound values used by this BoundValue return null, then this BoundValue also returns null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NestedBoundValue(java.lang.Object key)
key
- if this is a BoundValue, the value obtained by calling its getValue
method, will be used as the keyRenderingContext.getCurrentDataObject()
public NestedBoundValue(java.lang.Object key, BoundValue dataObject)
key
- maybe null. If this is a BoundValue, the value obtained by calling its getValue
method, will be used as the key.dataObject
- the value of this BoundValue must be a DataObject. key
will be used with this DataObject to produce a return value for getValue
.DataObject
Method Detail |
public java.lang.Object getValue(RenderingContext context)
getValue
in interface BoundValue
key
with the dataObject
to compute the return value. If key
is null, then the dataObject
itself is returned.BoundValue.getValue(RenderingContext)
, DataObject.selectValue(RenderingContext, Object key)
|
UIX 2.2.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |