|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.html.HtmlInputText
org.apache.myfaces.component.html.ext.AbstractHtmlInputText
org.apache.myfaces.component.html.ext.HtmlInputText
public class HtmlInputText
| Nested Class Summary | |
|---|---|
protected static class |
HtmlInputText.PropertyKeys
|
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
| Fields inherited from class javax.faces.component.UIInput |
|---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
| Fields inherited from interface org.apache.myfaces.component.UserRoleAware |
|---|
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR |
| Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable |
|---|
DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR |
| Constructor Summary | |
|---|---|
HtmlInputText()
|
|
| Method Summary | |
|---|---|
void |
addClientBehavior(String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
|
String |
getAccesskey()
|
String |
getAlign()
HTML: Specifies the horizontal alignment of this element. |
String |
getAlt()
|
String |
getAutocomplete()
Non HTML standard attribute to disable browser's autocomplete function. |
String |
getDatafld()
Reserved for future use. |
String |
getDataformatas()
Reserved for future use. |
String |
getDatasrc()
Reserved for future use. |
String |
getDir()
|
Boolean |
getDisplayValueOnly()
If true, renders only the value of the component, but no input widget. |
String |
getDisplayValueOnlyStyle()
Style used when displayValueOnly is true. |
String |
getDisplayValueOnlyStyleClass()
Style class used when displayValueOnly is true. |
String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
String |
getFamily()
|
String |
getLabel()
|
String |
getLang()
|
int |
getMaxlength()
|
String |
getOnblur()
|
String |
getOnchange()
|
String |
getOnclick()
|
String |
getOndblclick()
|
String |
getOnfocus()
|
String |
getOnkeydown()
|
String |
getOnkeypress()
|
String |
getOnkeyup()
|
String |
getOnmousedown()
|
String |
getOnmousemove()
|
String |
getOnmouseout()
|
String |
getOnmouseover()
|
String |
getOnmouseup()
|
String |
getOnselect()
|
int |
getSize()
|
String |
getStyle()
|
String |
getStyleClass()
|
String |
getTabindex()
|
String |
getTitle()
|
String |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
boolean |
isDisabled()
|
boolean |
isDisabledOnClientSide()
If true the input is rendered disabled on the client side and a hidden input is used to actualy submit his value back to the server. |
boolean |
isForceId()
If true, this component will force the use of the specified id when rendering. |
boolean |
isForceIdIndex()
If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components that are contained within a "list." This value will be true by default and the value will be ignored if the value of forceId is false (or not specified.) |
boolean |
isReadonly()
|
void |
setAccesskey(String accesskey)
|
void |
setAlign(String align)
|
void |
setAlt(String alt)
|
void |
setAutocomplete(String autocomplete)
|
void |
setDatafld(String datafld)
|
void |
setDataformatas(String dataformatas)
|
void |
setDatasrc(String datasrc)
|
void |
setDir(String dir)
|
void |
setDisabled(boolean disabled)
|
void |
setDisabledOnClientSide(boolean disabledOnClientSide)
|
void |
setDisplayValueOnly(Boolean displayValueOnly)
|
void |
setDisplayValueOnlyStyle(String displayValueOnlyStyle)
|
void |
setDisplayValueOnlyStyleClass(String displayValueOnlyStyleClass)
|
void |
setEnabledOnUserRole(String enabledOnUserRole)
|
void |
setForceId(boolean forceId)
|
void |
setForceIdIndex(boolean forceIdIndex)
|
void |
setLabel(String label)
|
void |
setLang(String lang)
|
void |
setMaxlength(int maxlength)
|
void |
setOnblur(String onblur)
|
void |
setOnchange(String onchange)
|
void |
setOnclick(String onclick)
|
void |
setOndblclick(String ondblclick)
|
void |
setOnfocus(String onfocus)
|
void |
setOnkeydown(String onkeydown)
|
void |
setOnkeypress(String onkeypress)
|
void |
setOnkeyup(String onkeyup)
|
void |
setOnmousedown(String onmousedown)
|
void |
setOnmousemove(String onmousemove)
|
void |
setOnmouseout(String onmouseout)
|
void |
setOnmouseover(String onmouseover)
|
void |
setOnmouseup(String onmouseup)
|
void |
setOnselect(String onselect)
|
void |
setReadonly(boolean readonly)
|
void |
setSize(int size)
|
void |
setStyle(String style)
|
void |
setStyleClass(String styleClass)
|
void |
setTabindex(String tabindex)
|
void |
setTitle(String title)
|
void |
setValueBinding(String name,
javax.faces.el.ValueBinding binding)
|
void |
setValueExpression(String name,
javax.el.ValueExpression expression)
|
void |
setVisibleOnUserRole(String visibleOnUserRole)
|
| Methods inherited from class org.apache.myfaces.component.html.ext.AbstractHtmlInputText |
|---|
getClientId, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, setDisplayValueOnly |
| Methods inherited from class javax.faces.component.html.HtmlInputText |
|---|
getDefaultEventName, getEventNames |
| Methods inherited from class javax.faces.component.UIInput |
|---|
addValidator, addValueChangeListener, broadcast, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, getLocalValue, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, visitTree |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
|---|
getClientBehaviors |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, setConverter |
| Field Detail |
|---|
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
| Constructor Detail |
|---|
public HtmlInputText()
| Method Detail |
|---|
public String getFamily()
getFamily in class javax.faces.component.html.HtmlInputText
public void addClientBehavior(String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.html.HtmlInputTextpublic boolean isDisabledOnClientSide()
AbstractHtmlInputText
isDisabledOnClientSide in class AbstractHtmlInputTextpublic void setDisabledOnClientSide(boolean disabledOnClientSide)
public String getAutocomplete()
AbstractHtmlInputText
getAutocomplete in class AbstractHtmlInputTextpublic void setAutocomplete(String autocomplete)
setAutocomplete in class javax.faces.component.html.HtmlInputTextpublic Boolean getDisplayValueOnly()
DisplayValueOnlyAware
public void setDisplayValueOnly(Boolean displayValueOnly)
public String getDisplayValueOnlyStyle()
DisplayValueOnlyAware
public void setDisplayValueOnlyStyle(String displayValueOnlyStyle)
public String getDisplayValueOnlyStyleClass()
DisplayValueOnlyAware
public void setDisplayValueOnlyStyleClass(String displayValueOnlyStyleClass)
public String getEnabledOnUserRole()
UserRoleAware
public void setEnabledOnUserRole(String enabledOnUserRole)
public String getVisibleOnUserRole()
UserRoleAware
public void setVisibleOnUserRole(String visibleOnUserRole)
public boolean isForceId()
ForceIdAware
public void setForceId(boolean forceId)
public boolean isForceIdIndex()
ForceIdAware
public void setForceIdIndex(boolean forceIdIndex)
public String getDatafld()
DataProperties
public void setDatafld(String datafld)
public String getDatasrc()
DataProperties
public void setDatasrc(String datasrc)
public String getDataformatas()
DataProperties
public void setDataformatas(String dataformatas)
public String getAlign()
AlignProperty
public void setAlign(String align)
public int getMaxlength()
getMaxlength in class javax.faces.component.html.HtmlInputTextpublic void setMaxlength(int maxlength)
setMaxlength in class javax.faces.component.html.HtmlInputTextpublic int getSize()
getSize in class javax.faces.component.html.HtmlInputTextpublic void setSize(int size)
setSize in class javax.faces.component.html.HtmlInputTextpublic String getLabel()
getLabel in class javax.faces.component.html.HtmlInputTextpublic void setLabel(String label)
setLabel in class javax.faces.component.html.HtmlInputTextpublic String getStyle()
getStyle in class javax.faces.component.html.HtmlInputTextpublic void setStyle(String style)
setStyle in class javax.faces.component.html.HtmlInputTextpublic String getStyleClass()
getStyleClass in class javax.faces.component.html.HtmlInputTextpublic void setStyleClass(String styleClass)
setStyleClass in class javax.faces.component.html.HtmlInputTextpublic String getAlt()
getAlt in class javax.faces.component.html.HtmlInputTextpublic void setAlt(String alt)
setAlt in class javax.faces.component.html.HtmlInputTextpublic String getTabindex()
getTabindex in class javax.faces.component.html.HtmlInputTextpublic void setTabindex(String tabindex)
setTabindex in class javax.faces.component.html.HtmlInputTextpublic String getOnblur()
getOnblur in class javax.faces.component.html.HtmlInputTextpublic void setOnblur(String onblur)
setOnblur in class javax.faces.component.html.HtmlInputTextpublic String getOnfocus()
getOnfocus in class javax.faces.component.html.HtmlInputTextpublic void setOnfocus(String onfocus)
setOnfocus in class javax.faces.component.html.HtmlInputTextpublic String getAccesskey()
getAccesskey in class javax.faces.component.html.HtmlInputTextpublic void setAccesskey(String accesskey)
setAccesskey in class javax.faces.component.html.HtmlInputTextpublic String getOnclick()
getOnclick in class javax.faces.component.html.HtmlInputTextpublic void setOnclick(String onclick)
setOnclick in class javax.faces.component.html.HtmlInputTextpublic String getOndblclick()
getOndblclick in class javax.faces.component.html.HtmlInputTextpublic void setOndblclick(String ondblclick)
setOndblclick in class javax.faces.component.html.HtmlInputTextpublic String getOnkeydown()
getOnkeydown in class javax.faces.component.html.HtmlInputTextpublic void setOnkeydown(String onkeydown)
setOnkeydown in class javax.faces.component.html.HtmlInputTextpublic String getOnkeypress()
getOnkeypress in class javax.faces.component.html.HtmlInputTextpublic void setOnkeypress(String onkeypress)
setOnkeypress in class javax.faces.component.html.HtmlInputTextpublic String getOnkeyup()
getOnkeyup in class javax.faces.component.html.HtmlInputTextpublic void setOnkeyup(String onkeyup)
setOnkeyup in class javax.faces.component.html.HtmlInputTextpublic String getOnmousedown()
getOnmousedown in class javax.faces.component.html.HtmlInputTextpublic void setOnmousedown(String onmousedown)
setOnmousedown in class javax.faces.component.html.HtmlInputTextpublic String getOnmousemove()
getOnmousemove in class javax.faces.component.html.HtmlInputTextpublic void setOnmousemove(String onmousemove)
setOnmousemove in class javax.faces.component.html.HtmlInputTextpublic String getOnmouseout()
getOnmouseout in class javax.faces.component.html.HtmlInputTextpublic void setOnmouseout(String onmouseout)
setOnmouseout in class javax.faces.component.html.HtmlInputTextpublic String getOnmouseover()
getOnmouseover in class javax.faces.component.html.HtmlInputTextpublic void setOnmouseover(String onmouseover)
setOnmouseover in class javax.faces.component.html.HtmlInputTextpublic String getOnmouseup()
getOnmouseup in class javax.faces.component.html.HtmlInputTextpublic void setOnmouseup(String onmouseup)
setOnmouseup in class javax.faces.component.html.HtmlInputTextpublic String getOnchange()
getOnchange in class javax.faces.component.html.HtmlInputTextpublic void setOnchange(String onchange)
setOnchange in class javax.faces.component.html.HtmlInputTextpublic String getOnselect()
getOnselect in class javax.faces.component.html.HtmlInputTextpublic void setOnselect(String onselect)
setOnselect in class javax.faces.component.html.HtmlInputTextpublic String getDir()
getDir in class javax.faces.component.html.HtmlInputTextpublic void setDir(String dir)
setDir in class javax.faces.component.html.HtmlInputTextpublic String getLang()
getLang in class javax.faces.component.html.HtmlInputTextpublic void setLang(String lang)
setLang in class javax.faces.component.html.HtmlInputTextpublic String getTitle()
getTitle in class javax.faces.component.html.HtmlInputTextpublic void setTitle(String title)
setTitle in class javax.faces.component.html.HtmlInputTextpublic boolean isDisabled()
isDisabled in class javax.faces.component.html.HtmlInputTextpublic void setDisabled(boolean disabled)
setDisabled in class javax.faces.component.html.HtmlInputTextpublic boolean isReadonly()
isReadonly in class javax.faces.component.html.HtmlInputTextpublic void setReadonly(boolean readonly)
setReadonly in class javax.faces.component.html.HtmlInputText
public void setValueBinding(String name,
javax.faces.el.ValueBinding binding)
setValueBinding in class javax.faces.component.html.HtmlInputText
public void setValueExpression(String name,
javax.el.ValueExpression expression)
setValueExpression in class javax.faces.component.html.HtmlInputText
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||