|
ICEfaces ICE Components 3.3.0 Java API Documentation |
|||||||||
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
com.icesoft.faces.component.ext.HtmlInputText
public class HtmlInputText
This is an extension of javax.faces.component.html.HtmlInputText, which provides some additional behavior to this component such as:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.faces.component.html.HtmlInputText |
---|
javax.faces.component.html.HtmlInputText.PropertyKeys |
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_TYPE
|
protected boolean |
focus
|
protected java.lang.Boolean |
partialSubmit
|
static java.lang.String |
RENDERER_TYPE
|
Fields inherited from class javax.faces.component.UIInput |
---|
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME |
Fields inherited from class javax.faces.component.UIComponent |
---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
Fields inherited from interface com.icesoft.faces.component.IceExtended |
---|
ENABLED_ON_USER_ROLE_ATTR, RENDERED_ON_USER_ROLE_ATTR |
Constructor Summary | |
---|---|
HtmlInputText()
|
Method Summary | |
---|---|
void |
addActionListener(javax.faces.event.ActionListener listener)
|
void |
broadcast(javax.faces.event.FacesEvent event)
|
void |
changeText(java.lang.String value)
Deprecated. |
void |
decode(javax.faces.context.FacesContext context)
|
javax.faces.el.MethodBinding |
getAction()
Return the value of the action property. |
javax.faces.el.MethodBinding |
getActionListener()
|
javax.faces.event.ActionListener[] |
getActionListeners()
|
java.lang.String |
getAutocomplete()
Return the value of the autocomplete property. |
com.icesoft.faces.context.effects.CurrentStyle |
getCurrentStyle()
Return the value of the currentStyle property. |
com.icesoft.faces.context.effects.Effect |
getEffect()
Return the value of the effect property. |
java.lang.String |
getEnabledOnUserRole()
Return the value of the enabledOnUserRole property. |
com.icesoft.faces.context.effects.Effect |
getOnchangeeffect()
Return the value of the onchangeeffect property. |
com.icesoft.faces.context.effects.Effect |
getOnclickeffect()
Return the value of the onclickeffect property. |
com.icesoft.faces.context.effects.Effect |
getOndblclickeffect()
Return the value of the ondblclickeffect property. |
com.icesoft.faces.context.effects.Effect |
getOnkeydowneffect()
Return the value of the onkeydowneffect property. |
com.icesoft.faces.context.effects.Effect |
getOnkeypresseffect()
Return the value of the onkeypresseffect property. |
com.icesoft.faces.context.effects.Effect |
getOnkeyupeffect()
Return the value of the onkeyupeffect property. |
com.icesoft.faces.context.effects.Effect |
getOnmousedowneffect()
Return the value of the onmousedowneffect property. |
com.icesoft.faces.context.effects.Effect |
getOnmousemoveeffect()
Return the value of the onmousemoveeffect property. |
com.icesoft.faces.context.effects.Effect |
getOnmouseouteffect()
Return the value of the onmouseouteffect property. |
com.icesoft.faces.context.effects.Effect |
getOnmouseovereffect()
Return the value of the onmouseovereffect property. |
com.icesoft.faces.context.effects.Effect |
getOnmouseupeffect()
Return the value of the onmouseupeffect property. |
boolean |
getPartialSubmit()
Return the value of the partialSubmit property. |
java.lang.String |
getRenderedOnUserRole()
Return the value of the renderedOnUserRole property. |
java.lang.String |
getStyleClass()
Return the value of the styleClass property. |
protected java.lang.String |
getStyleClassField()
|
java.lang.String |
getText()
Deprecated. |
boolean |
getVisible()
Return the value of the visible property. |
boolean |
hasFocus()
Return the value of the focus property. |
boolean |
isActionKeyEvent()
Return the value of the actionKeyEvent property. |
boolean |
isDisabled()
Return the value of the disabled property. |
boolean |
isImmediate()
Return the value of the immediate property. |
boolean |
isRendered()
Return the value of the rendered property. |
void |
queueEvent(javax.faces.event.FacesEvent event)
|
void |
removeActionListener(javax.faces.event.ActionListener listener)
|
void |
requestFocus()
This method is used to communicate a focus request from the application to the client browser. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
Perform any processing required to restore the state from the entries in the state Object. |
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
Gets the state of the instance as a Serializable
Object. |
void |
setAction(javax.faces.el.MethodBinding action)
Set the value of the action property. |
void |
setActionKeyEvent(boolean actionKeyEvent)
Set the value of the actionKeyEvent property. |
void |
setActionListener(javax.faces.el.MethodBinding actionListener)
|
void |
setAutocomplete(java.lang.String autocomplete)
Set the value of the autocomplete property. |
void |
setCurrentStyle(com.icesoft.faces.context.effects.CurrentStyle currentStyle)
Set the value of the currentStyle property. |
void |
setEffect(com.icesoft.faces.context.effects.Effect effect)
Set the value of the effect property. |
void |
setEnabledOnUserRole(java.lang.String enabledOnUserRole)
Set the value of the enabledOnUserRole property. |
void |
setFocus(boolean focus)
Set the value of the focus property. |
void |
setImmediate(boolean immediate)
Set the value of the immediate property. |
void |
setOnchangeeffect(com.icesoft.faces.context.effects.Effect onchangeeffect)
Set the value of the onchangeeffect property. |
void |
setOnclickeffect(com.icesoft.faces.context.effects.Effect onclickeffect)
Set the value of the onclickeffect property. |
void |
setOndblclickeffect(com.icesoft.faces.context.effects.Effect ondblclickeffect)
Set the value of the ondblclickeffect property. |
void |
setOnkeydowneffect(com.icesoft.faces.context.effects.Effect onkeydowneffect)
Set the value of the onkeydowneffect property. |
void |
setOnkeypresseffect(com.icesoft.faces.context.effects.Effect onkeypresseffect)
Set the value of the onkeypresseffect property. |
void |
setOnkeyupeffect(com.icesoft.faces.context.effects.Effect onkeyupeffect)
Set the value of the onkeyupeffect property. |
void |
setOnmousedowneffect(com.icesoft.faces.context.effects.Effect onmousedowneffect)
Set the value of the onmousedowneffect property. |
void |
setOnmousemoveeffect(com.icesoft.faces.context.effects.Effect onmousemoveeffect)
Set the value of the onmousemoveeffect property. |
void |
setOnmouseouteffect(com.icesoft.faces.context.effects.Effect onmouseouteffect)
Set the value of the onmouseouteffect property. |
void |
setOnmouseovereffect(com.icesoft.faces.context.effects.Effect onmouseovereffect)
Set the value of the onmouseovereffect property. |
void |
setOnmouseupeffect(com.icesoft.faces.context.effects.Effect onmouseupeffect)
Set the value of the onmouseupeffect property. |
void |
setPartialSubmit(boolean partialSubmit)
Set the value of the partialSubmit property. |
void |
setRenderedOnUserRole(java.lang.String renderedOnUserRole)
Set the value of the renderedOnUserRole property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property. |
void |
setValueBinding(java.lang.String s,
javax.faces.el.ValueBinding vb)
|
void |
setVisible(boolean visible)
Set the value of the visible property. |
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, getTabindex, getTitle, 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, setTabindex, setTitle |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, clearInitialState, compareValues, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, getValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree |
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, getValue, setConverter |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
protected java.lang.Boolean partialSubmit
protected boolean focus
Constructor Detail |
---|
public HtmlInputText()
Method Detail |
---|
public java.lang.String getText()
public void changeText(java.lang.String value)
value
- Text String, like that which a user could have typed inpublic void setValueBinding(java.lang.String s, javax.faces.el.ValueBinding vb)
setValueBinding
in class javax.faces.component.UIComponentBase
public void setEffect(com.icesoft.faces.context.effects.Effect effect)
Set the value of the effect
property.
public com.icesoft.faces.context.effects.Effect getEffect()
Return the value of the effect
property.
public void setVisible(boolean visible)
Set the value of the visible
property.
public boolean getVisible()
Return the value of the visible
property.
public void setPartialSubmit(boolean partialSubmit)
Set the value of the partialSubmit
property.
setPartialSubmit
in interface com.icesoft.faces.component.IceExtended
public boolean getPartialSubmit()
Return the value of the partialSubmit
property.
getPartialSubmit
in interface com.icesoft.faces.component.IceExtended
public void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
Set the value of the enabledOnUserRole
property.
setEnabledOnUserRole
in interface com.icesoft.faces.component.IceExtended
public java.lang.String getEnabledOnUserRole()
Return the value of the enabledOnUserRole
property.
getEnabledOnUserRole
in interface com.icesoft.faces.component.IceExtended
public void setRenderedOnUserRole(java.lang.String renderedOnUserRole)
Set the value of the renderedOnUserRole
property.
setRenderedOnUserRole
in interface com.icesoft.faces.component.IceExtended
public java.lang.String getRenderedOnUserRole()
Return the value of the renderedOnUserRole
property.
getRenderedOnUserRole
in interface com.icesoft.faces.component.IceExtended
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass
property.
setStyleClass
in class javax.faces.component.html.HtmlInputText
public java.lang.String getStyleClass()
Return the value of the styleClass
property.
getStyleClass
in class javax.faces.component.html.HtmlInputText
protected java.lang.String getStyleClassField()
public boolean isRendered()
Return the value of the rendered
property.
isRendered
in class javax.faces.component.UIComponentBase
public void setAction(javax.faces.el.MethodBinding action)
Set the value of the action
property.
setAction
in interface javax.faces.component.ActionSource
public javax.faces.el.MethodBinding getAction()
Return the value of the action
property.
getAction
in interface javax.faces.component.ActionSource
public void setActionListener(javax.faces.el.MethodBinding actionListener)
setActionListener
in interface javax.faces.component.ActionSource
public javax.faces.el.MethodBinding getActionListener()
getActionListener
in interface javax.faces.component.ActionSource
public void addActionListener(javax.faces.event.ActionListener listener)
addActionListener
in interface javax.faces.component.ActionSource
public javax.faces.event.ActionListener[] getActionListeners()
getActionListeners
in interface javax.faces.component.ActionSource
public void removeActionListener(javax.faces.event.ActionListener listener)
removeActionListener
in interface javax.faces.component.ActionSource
public void setActionKeyEvent(boolean actionKeyEvent)
Set the value of the actionKeyEvent
property.
public boolean isActionKeyEvent()
Return the value of the actionKeyEvent
property.
public com.icesoft.faces.context.effects.Effect getOnclickeffect()
Return the value of the onclickeffect
property.
public void setOnclickeffect(com.icesoft.faces.context.effects.Effect onclickeffect)
Set the value of the onclickeffect
property.
public com.icesoft.faces.context.effects.Effect getOndblclickeffect()
Return the value of the ondblclickeffect
property.
public void setOndblclickeffect(com.icesoft.faces.context.effects.Effect ondblclickeffect)
Set the value of the ondblclickeffect
property.
public com.icesoft.faces.context.effects.Effect getOnmousedowneffect()
Return the value of the onmousedowneffect
property.
public void setOnmousedowneffect(com.icesoft.faces.context.effects.Effect onmousedowneffect)
Set the value of the onmousedowneffect
property.
public com.icesoft.faces.context.effects.Effect getOnmouseupeffect()
Return the value of the onmouseupeffect
property.
public void setOnmouseupeffect(com.icesoft.faces.context.effects.Effect onmouseupeffect)
Set the value of the onmouseupeffect
property.
public com.icesoft.faces.context.effects.Effect getOnmousemoveeffect()
Return the value of the onmousemoveeffect
property.
public void setOnmousemoveeffect(com.icesoft.faces.context.effects.Effect onmousemoveeffect)
Set the value of the onmousemoveeffect
property.
public com.icesoft.faces.context.effects.Effect getOnmouseovereffect()
Return the value of the onmouseovereffect
property.
public void setOnmouseovereffect(com.icesoft.faces.context.effects.Effect onmouseovereffect)
Set the value of the onmouseovereffect
property.
public com.icesoft.faces.context.effects.Effect getOnmouseouteffect()
Return the value of the onmouseouteffect
property.
public void setOnmouseouteffect(com.icesoft.faces.context.effects.Effect onmouseouteffect)
Set the value of the onmouseouteffect
property.
public com.icesoft.faces.context.effects.Effect getOnchangeeffect()
Return the value of the onchangeeffect
property.
public void setOnchangeeffect(com.icesoft.faces.context.effects.Effect onchangeeffect)
Set the value of the onchangeeffect
property.
public com.icesoft.faces.context.effects.Effect getOnkeypresseffect()
Return the value of the onkeypresseffect
property.
public void setOnkeypresseffect(com.icesoft.faces.context.effects.Effect onkeypresseffect)
Set the value of the onkeypresseffect
property.
public com.icesoft.faces.context.effects.Effect getOnkeydowneffect()
Return the value of the onkeydowneffect
property.
public void setOnkeydowneffect(com.icesoft.faces.context.effects.Effect onkeydowneffect)
Set the value of the onkeydowneffect
property.
public com.icesoft.faces.context.effects.Effect getOnkeyupeffect()
Return the value of the onkeyupeffect
property.
public void setOnkeyupeffect(com.icesoft.faces.context.effects.Effect onkeyupeffect)
Set the value of the onkeyupeffect
property.
public com.icesoft.faces.context.effects.CurrentStyle getCurrentStyle()
Return the value of the currentStyle
property.
public void setCurrentStyle(com.icesoft.faces.context.effects.CurrentStyle currentStyle)
Set the value of the currentStyle
property.
public java.lang.Object saveState(javax.faces.context.FacesContext context)
Gets the state of the instance as a Serializable
Object.
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
Perform any processing required to restore the state from the entries in the state Object.
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIInput
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class javax.faces.component.UIComponentBase
javax.faces.event.AbortProcessingException
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class javax.faces.component.UIComponentBase
public boolean isImmediate()
Return the value of the immediate
property.
isImmediate
in interface javax.faces.component.ActionSource
isImmediate
in interface javax.faces.component.EditableValueHolder
isImmediate
in class javax.faces.component.UIInput
public boolean isDisabled()
Return the value of the disabled
property.
isDisabled
in class javax.faces.component.html.HtmlInputText
public void setImmediate(boolean immediate)
Set the value of the immediate
property.
setImmediate
in interface javax.faces.component.ActionSource
setImmediate
in interface javax.faces.component.EditableValueHolder
setImmediate
in class javax.faces.component.UIInput
public void decode(javax.faces.context.FacesContext context)
decode
in class javax.faces.component.UIInput
public void requestFocus()
public void setFocus(boolean focus)
Set the value of the focus
property.
public boolean hasFocus()
Return the value of the focus
property.
public void setAutocomplete(java.lang.String autocomplete)
Set the value of the autocomplete
property.
setAutocomplete
in class javax.faces.component.html.HtmlInputText
public java.lang.String getAutocomplete()
Return the value of the autocomplete
property.
getAutocomplete
in class javax.faces.component.html.HtmlInputText
|
ICEfaces ICE Components 3.3.0 Java API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |