org.apache.myfaces.trinidadinternal.ui.data.bind
Class AccessKeyBoundValue
java.lang.Object
org.apache.myfaces.trinidadinternal.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.
- Version:
- $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/data/bind/AccessKeyBoundValue.java#0 $) $Date: 10-nov-2005.18:56:35 $
- Author:
- The Oracle ADF Faces Team
Method Summary |
java.lang.Object |
getValue(UIXRenderingContext 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(UIXRenderingContext context)
- Description copied from interface:
BoundValue
- Called to retrieve a value based on the current rendering
context.
- Specified by:
getValue
in interface BoundValue
- Parameters:
context
- the rendering context
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.