|
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.data.bind.DefaultingBoundValue
A BoundValue implementation that wraps another and returns a provided default value in place of null.
Constructor Summary | |
DefaultingBoundValue(BoundValue wrapped,
BoundValue defaultBoundValue)
Creates a DefaultingBoundValue. |
|
DefaultingBoundValue(BoundValue wrapped,
java.lang.Object defaultValue)
Creates a DefaultingBoundValue. |
Method Summary | |
java.lang.Object |
getValue(RenderingContext context)
Called to retrieve a value based on the current rendering context. |
protected java.lang.Object |
getWrappedValue(RenderingContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultingBoundValue(BoundValue wrapped, java.lang.Object defaultValue)
wrapped
- the BoundValue to try firstdefaultValue
- the value to return if wrapped
returns nullpublic DefaultingBoundValue(BoundValue wrapped, BoundValue defaultBoundValue)
wrapped
- the BoundValue to try firstdefaultBoundValue
- the BoundValue to use if wrapped
returns nullMethod Detail |
public java.lang.Object getValue(RenderingContext context)
BoundValue
getValue
in interface BoundValue
oracle.cabo.ui.data.BoundValue
context
- the rendering contextprotected java.lang.Object getWrappedValue(RenderingContext context)
|
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 |