|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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 java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.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 | |
---|---|
java.lang.String |
getAlign()
HTML: Specifies the horizontal alignment of this element. |
java.lang.String |
getAutocomplete()
Non HTML standard attribute to disable browser's autocomplete function. |
java.lang.String |
getDatafld()
Reserved for future use. |
java.lang.String |
getDataformatas()
Reserved for future use. |
java.lang.String |
getDatasrc()
Reserved for future use. |
java.lang.Boolean |
getDisplayValueOnly()
If true, renders only the value of the component, but no input widget. |
java.lang.String |
getDisplayValueOnlyStyle()
Style used when displayValueOnly is true. |
java.lang.String |
getDisplayValueOnlyStyleClass()
Style class used when displayValueOnly is true. |
java.lang.String |
getEnabledOnUserRole()
If user is in given role, this component will be rendered normally. |
java.lang.String |
getFamily()
|
java.lang.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 |
setAlign(java.lang.String align)
|
void |
setAutocomplete(java.lang.String autocomplete)
|
void |
setDatafld(java.lang.String datafld)
|
void |
setDataformatas(java.lang.String dataformatas)
|
void |
setDatasrc(java.lang.String datasrc)
|
void |
setDisabledOnClientSide(boolean disabledOnClientSide)
|
void |
setDisplayValueOnly(java.lang.Boolean displayValueOnly)
|
void |
setDisplayValueOnlyStyle(java.lang.String displayValueOnlyStyle)
|
void |
setDisplayValueOnlyStyleClass(java.lang.String displayValueOnlyStyleClass)
|
void |
setEnabledOnUserRole(java.lang.String enabledOnUserRole)
|
void |
setForceId(boolean forceId)
|
void |
setForceIdIndex(boolean forceIdIndex)
|
void |
setVisibleOnUserRole(java.lang.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, getDefaultEventName, getDir, getEventNames, getLabel, 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, setLabel, 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, 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 |
---|
addClientBehavior, addFacesListener, 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, setValueBinding, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, 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 |
---|
addClientBehavior, getClientBehaviors |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, setConverter |
Field Detail |
---|
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public HtmlInputText()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.html.HtmlInputText
public boolean isDisabledOnClientSide()
AbstractHtmlInputText
isDisabledOnClientSide
in class AbstractHtmlInputText
public void setDisabledOnClientSide(boolean disabledOnClientSide)
public java.lang.String getAutocomplete()
AbstractHtmlInputText
getAutocomplete
in class AbstractHtmlInputText
public void setAutocomplete(java.lang.String autocomplete)
setAutocomplete
in class javax.faces.component.html.HtmlInputText
public java.lang.Boolean getDisplayValueOnly()
DisplayValueOnlyAware
public void setDisplayValueOnly(java.lang.Boolean displayValueOnly)
public java.lang.String getDisplayValueOnlyStyle()
DisplayValueOnlyAware
public void setDisplayValueOnlyStyle(java.lang.String displayValueOnlyStyle)
public java.lang.String getDisplayValueOnlyStyleClass()
DisplayValueOnlyAware
public void setDisplayValueOnlyStyleClass(java.lang.String displayValueOnlyStyleClass)
public java.lang.String getEnabledOnUserRole()
UserRoleAware
public void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
public java.lang.String getVisibleOnUserRole()
UserRoleAware
public void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
public boolean isForceId()
ForceIdAware
public void setForceId(boolean forceId)
public boolean isForceIdIndex()
ForceIdAware
public void setForceIdIndex(boolean forceIdIndex)
public java.lang.String getDatafld()
DataProperties
public void setDatafld(java.lang.String datafld)
public java.lang.String getDatasrc()
DataProperties
public void setDatasrc(java.lang.String datasrc)
public java.lang.String getDataformatas()
DataProperties
public void setDataformatas(java.lang.String dataformatas)
public java.lang.String getAlign()
AlignProperty
public void setAlign(java.lang.String align)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |