|
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.MessageFormatBoundValue
BoundValue implementation that will automatically format a series of objects into a string based on a format mask. All of the values, as well as the format mask, are retrieved dynamically.
MessageFormatBoundValue, by default, runs in a "fast" mode, using the FastMessageFormat class. This mode offers a limited syntax, but is much more efficient. Developers can explicitly use the full java.text.MessageFormat syntax if they wish.
FastMessageFormat| Constructor Summary | |
MessageFormatBoundValue(BoundValue formatValue,
BoundValue[] sourceValues)
Creates a "fast" MessageFormatBoundValue. |
|
MessageFormatBoundValue(BoundValue formatValue,
BoundValue[] sourceValues,
boolean fast)
Creates a MessageFormatBoundValue. |
|
| Method Summary | |
java.lang.Object |
getValue(RenderingContext context)
Called to retrieve a value based on the current rendering context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessageFormatBoundValue(BoundValue formatValue,
BoundValue[] sourceValues)
formatValue - the BoundValue that will retrieve
the format value.sourceValues - an array of BoundValues that will
retrieve the data to merge into the message format
public MessageFormatBoundValue(BoundValue formatValue,
BoundValue[] sourceValues,
boolean fast)
formatValue - the BoundValue that will retrieve
the format value.sourceValues - an array of BoundValues that will
retrieve the data to merge into the message formatfast - if true, uses the fast but limited FastMessageFormat
class; otherwise, uses the full Java MessageFormat syntax,
but is significantly slower.| Method Detail |
public java.lang.Object getValue(RenderingContext context)
BoundValuegetValue in interface BoundValueoracle.cabo.ui.data.BoundValuecontext - the rendering 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 | ||||||||