|
||||||||||
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
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 |
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 | |
---|---|
String |
getAlign()
HTML: Specifies the horizontal alignment of this element. |
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. |
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 |
getVisibleOnUserRole()
If user is in given role, this component will be rendered normally. |
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.) |
void |
restoreState(javax.faces.context.FacesContext facesContext,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setAlign(String align)
|
void |
setAutocomplete(String autocomplete)
|
void |
setDatafld(String datafld)
|
void |
setDataformatas(String dataformatas)
|
void |
setDatasrc(String datasrc)
|
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 |
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 |
---|
getAccesskey, getAlt, getDir, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setDir, setDisabled, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setSize, setStyle, setStyleClass, setTabindex, setTitle |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, 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, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
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.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.UIInput
public boolean isDisabledOnClientSide()
AbstractHtmlInputText
isDisabledOnClientSide
in class AbstractHtmlInputText
public void setDisabledOnClientSide(boolean disabledOnClientSide)
public String getAutocomplete()
AbstractHtmlInputText
getAutocomplete
in class AbstractHtmlInputText
public void setAutocomplete(String autocomplete)
public 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 Object saveState(javax.faces.context.FacesContext facesContext)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.html.HtmlInputText
public void restoreState(javax.faces.context.FacesContext facesContext, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.html.HtmlInputText
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |