org.apache.myfaces.custom.inputTextHelp

Class HtmlInputTextHelp

Implemented Interfaces:
DisplayValueOnlyCapable, UserRoleAware

public class HtmlInputTextHelp
extends HtmlInputText

Version:
$Date: 2005-07-02 15:32:34 +01:00 (Thu, 09 Jun 2005)
Author:
Thomas Obereder

Field Summary

static String
COMPONENT_TYPE
static String
JS_FUNCTION_RESET_HELP
static String
JS_FUNCTION_SELECT_TEXT

Fields inherited from class org.apache.myfaces.component.html.ext.HtmlInputText

COMPONENT_TYPE

Fields inherited from interface org.apache.myfaces.component.DisplayValueOnlyCapable

DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR

Fields inherited from interface org.apache.myfaces.component.UserRoleAware

ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR

Constructor Summary

HtmlInputTextHelp()

Method Summary

String
getClientId(FacesContext context)
String
getHelpText()
boolean
isSelectText()
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setHelpText(String helpText)
void
setSelectText(boolean selectText)

Methods inherited from class org.apache.myfaces.component.html.ext.HtmlInputText

getClientId, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getVisibleOnUserRole, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, restoreState, saveState, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setVisibleOnUserRole

Field Details

COMPONENT_TYPE

public static final String COMPONENT_TYPE

JS_FUNCTION_RESET_HELP

public static final String JS_FUNCTION_RESET_HELP

JS_FUNCTION_SELECT_TEXT

public static final String JS_FUNCTION_SELECT_TEXT

Constructor Details

HtmlInputTextHelp

public HtmlInputTextHelp()

Method Details

getClientId

public String getClientId(FacesContext context)
Overrides:
getClientId in interface HtmlInputText

getHelpText

public String getHelpText()

isSelectText

public boolean isSelectText()

restoreState

public void restoreState(FacesContext context,
                         Object state)
Overrides:
restoreState in interface HtmlInputText

saveState

public Object saveState(FacesContext context)
Overrides:
saveState in interface HtmlInputText

setHelpText

public void setHelpText(String helpText)

setSelectText

public void setSelectText(boolean selectText)