|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.renderkit.core.xhtml.AccessKeyUtils
public class AccessKeyUtils
Utilities for working with access keys.
Constructor Summary | |
---|---|
AccessKeyUtils()
|
Method Summary | |
---|---|
static int |
getAccessKeyIndex(java.lang.Object textValue,
char accessChar)
Returns the index of the access key in the specified text. |
static void |
renderAccessKeyText(javax.faces.context.FacesContext context,
java.lang.Object textValue,
char accessKey,
java.lang.String highlightElement)
Renders the text with the access key highlighted as appropriate. |
static void |
renderAccessKeyText(javax.faces.context.FacesContext context,
java.lang.Object textValue,
int keyIndex)
Renders the text with access key having default style of underline. |
static void |
renderAccessKeyText(javax.faces.context.FacesContext context,
java.lang.Object textValue,
int keyIndex,
java.lang.String accessKeyClass)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessKeyUtils()
Method Detail |
---|
public static void renderAccessKeyText(javax.faces.context.FacesContext context, java.lang.Object textValue, int keyIndex) throws java.io.IOException
java.io.IOException
public static void renderAccessKeyText(javax.faces.context.FacesContext context, java.lang.Object textValue, int keyIndex, java.lang.String accessKeyClass) throws java.io.IOException
java.io.IOException
public static void renderAccessKeyText(javax.faces.context.FacesContext context, java.lang.Object textValue, char accessKey, java.lang.String highlightElement) throws java.io.IOException
java.io.IOException
public static int getAccessKeyIndex(java.lang.Object textValue, char accessChar)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |