|
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.RowMessageBoundValue
The RowMessageBoundValue class greatly simplifies the process of adding inline messages to a table.
Each row of a table already has a "current DataObject". Now, for each row of the table that needs an inline message, add to the "current DataObject" one more Object at a fixed key. RowMessageBoundValue will let you use that Object as the "real" key for inline messaging.
In practice, this class can be used for more than tables; it can be used in any cases where the message key used for a node should be computed indirectly.
MessageData.bindRowNode(oracle.cabo.ui.MutableUINode, java.lang.Object),
MessageData.bindRowNodes(oracle.cabo.ui.MutableUINode, oracle.cabo.ui.MutableUINode, java.lang.Object)| Constructor Summary | |
RowMessageBoundValue(BoundValue keyBoundValue)
Creates a RowMessageBoundValue that will get the message key from a developer-supplied BoundValue, and the message data from the default location. |
|
RowMessageBoundValue(BoundValue keyBoundValue,
java.lang.String namespaceURI,
java.lang.String localName)
Creates a RowMessageBoundValue that will get the message key from a developer-supplied BoundValue, and the message data DataObject from a developer-specified location. |
|
RowMessageBoundValue(java.lang.Object rowMessageKey)
Creates a RowMessageBoundValue that will get the message key from the current data object, and the message data from the default location. |
|
| 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 RowMessageBoundValue(java.lang.Object rowMessageKey)
MESSAGE_DATA_OBJECT_NAME).rowMessageKey - the key in the current DataObjectpublic RowMessageBoundValue(BoundValue keyBoundValue)
MESSAGE_DATA_OBJECT_NAME).keyBoundValue - the key to be used to retrieve
the MessageData
public RowMessageBoundValue(BoundValue keyBoundValue,
java.lang.String namespaceURI,
java.lang.String localName)
keyBoundValue - the key to be used to retrieve
the MessageDatanamespaceURI - the namespace to retrieve the message DataObject fromname - the name of the message DataObject| 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 | ||||||||