oracle.cabo.ui.data.bind
Class AccessKeyBoundValue
java.lang.Object
|
+--oracle.cabo.ui.data.bind.AccessKeyBoundValue
- All Implemented Interfaces:
- BoundValue
- public class AccessKeyBoundValue
- extends java.lang.Object
- implements BoundValue
A BoundValue that will decompose a second bound value
into a text string and an access key using conventional
ampersand ('&') notation. Clients will need
to create two instances of this class, one for
the access key, the other for the text.
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 |
AccessKeyBoundValue
public AccessKeyBoundValue(BoundValue textWithAccessKey,
boolean returnAccessKey)
- Creates an AccessKeyBoundValue
- Parameters:
textWithAccessKey
- the BoundValue that returns the text
with an embedded access keyreturnAccessKey
- if true, returns the access key Character;
if false, returns the string with the access key removed
getValue
public java.lang.Object getValue(RenderingContext context)
- Description copied from interface:
BoundValue
- Called to retrieve a value based on the current rendering
context.
- Specified by:
getValue
in interface BoundValue
- Following copied from interface:
oracle.cabo.ui.data.BoundValue
- Parameters:
context
- the rendering context