|
|||||||||||
| 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.bejug.javacareers.common.ajax.TextField
Completion-capable JSF text field. The component has a completionMethod which is called repeatedly (asynchronously) and is in charge of registering completion results (which will be populated in the completion dialog for this field). The component will render CSS and JavaScript into the page. These JavaScript and CSS class names could potentially interact with your own JSP contents if there is a name conflict so if you observe strange results, try changing your method names or style classes.
| Field Summary |
| Fields inherited from class javax.faces.component.html.HtmlInputText |
COMPONENT_TYPE |
| Fields inherited from class javax.faces.component.UIInput |
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
| Constructor Summary | |
TextField()
constructor. |
|
| Method Summary | |
java.lang.String |
getCompletionMethod()
|
int |
getMaxCount()
Return the maximum number of results returned from this text field |
java.lang.String |
getOnchoose()
|
java.lang.String |
getOndisplay()
|
java.lang.String |
getText()
Render a textual textfield. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
to restore the state of the textfield. |
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
to save the state of the textfield. |
void |
setCompletionMethod(java.lang.String completionMethod)
|
void |
setOnchoose(java.lang.String onchoose)
|
void |
setOndisplay(java.lang.String ondisplay)
|
void |
setText(java.lang.String text)
|
| 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, getFamily, getSubmittedValue, getValidator, getValidators, 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, getValue, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, 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, getValue, setConverter |
| Constructor Detail |
public TextField()
| Method Detail |
public java.lang.Object saveState(javax.faces.context.FacesContext context)
context - the FacesContext.
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
context - the FacesContext.state - the state to restore.public void setOnchoose(java.lang.String onchoose)
onchoose - a String containing the onchoose to set.public java.lang.String getOnchoose()
public void setOndisplay(java.lang.String ondisplay)
ondisplay - the ondisplay, as a string, to set.public java.lang.String getOndisplay()
public void setCompletionMethod(java.lang.String completionMethod)
completionMethod - the completionmethod as a string.public java.lang.String getCompletionMethod()
public java.lang.String getText()
Render a textual textfield.
public void setText(java.lang.String text)
text - is text to setgetText()public int getMaxCount()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||