|
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
com.icesoft.faces.component.selectinputtext.SelectInputText
public class SelectInputText
SelectInputText is a JSF component class that represents an ICEfaces autocomplete input text. This component requires the application developer to implement the matching list rearch algorithm in their backing bean.
SelectInputText extends the ICEfaces extended HtmlInputText component. By default this component is rendered by the "com.icesoft.faces.SelectInputText" renderer type.
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
|
static java.lang.String |
RENDERER_TYPE
|
Fields inherited from class com.icesoft.faces.component.ext.HtmlInputText |
---|
focus, partialSubmit |
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 javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Fields inherited from interface com.icesoft.faces.component.IceExtended |
---|
ENABLED_ON_USER_ROLE_ATTR, RENDERED_ON_USER_ROLE_ATTR |
Constructor Summary | |
---|---|
SelectInputText()
|
Method Summary | |
---|---|
void |
broadcast(javax.faces.event.FacesEvent event)
|
void |
decode(javax.faces.context.FacesContext facesContext)
|
void |
encodeBegin(javax.faces.context.FacesContext context)
|
java.lang.String |
getClientId(javax.faces.context.FacesContext context)
Return the value of the clientId property. |
java.lang.String |
getInputTextClass()
Return the value of the inputTextClass property. |
java.util.Iterator |
getItemList()
Return the value of the itemList property. |
java.lang.String |
getListClass()
Return the value of the listClass property. |
java.util.List |
getListValue()
Return the value of the listValue property. |
java.lang.String |
getListVar()
Return the value of the listVar property. |
java.lang.String |
getOnkeypress()
|
java.lang.String |
getOptions()
|
java.lang.String |
getRowClass()
Return the value of the rowClass property. |
int |
getRows()
Return the value of the rows property. |
javax.faces.model.SelectItem |
getSelectedItem()
Return the value of the selectedItem property. |
java.lang.String |
getSelectedRowClass()
Return the value of the selectedRowClass property. |
javax.faces.component.UIComponent |
getSelectFacet()
Return the value of the selectInputText property. |
java.lang.String |
getStyleClass()
Return the value of the styleClass property. |
javax.faces.el.MethodBinding |
getTextChangeListener()
|
java.lang.String |
getWidth()
Return the value of the width property. |
void |
restoreSeriesState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
|
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 |
saveSeriesState(javax.faces.context.FacesContext facesContext)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
Gets the state of the instance as a Serializable
Object. |
void |
setIndex(int index)
Set the value of the index property. |
void |
setListValue(java.util.List listValue)
Set the value of the listValue property. |
void |
setListVar(java.lang.String listVar)
Set the value of the listVar property. |
void |
setOptions(java.lang.String options)
|
void |
setRows(int rows)
Set the value of the rows property. |
protected void |
setSelectedIndex(int index)
|
void |
setSelectedItem(java.lang.String key)
Set the value of the selectedItem property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property. |
void |
setTextChangeListener(javax.faces.el.MethodBinding mb)
|
void |
setWidth(java.lang.String width)
Set the value of the width property. |
Methods inherited from class javax.faces.component.html.HtmlInputText |
---|
getAccesskey, getAlt, getDefaultEventName, getDir, getEventNames, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, 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, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, 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
Constructor Detail |
---|
public SelectInputText()
Method Detail |
---|
public void encodeBegin(javax.faces.context.FacesContext context) throws java.io.IOException
encodeBegin
in class javax.faces.component.UIComponentBase
java.io.IOException
public void decode(javax.faces.context.FacesContext facesContext)
decode
in class HtmlInputText
public java.util.Iterator getItemList()
Return the value of the itemList
property.
public void setIndex(int index)
Set the value of the index
property.
public java.lang.String getClientId(javax.faces.context.FacesContext context)
Return the value of the clientId
property.
getClientId
in class javax.faces.component.UIComponentBase
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class HtmlInputText
javax.faces.event.AbortProcessingException
public javax.faces.component.UIComponent getSelectFacet()
Return the value of the selectInputText
property.
protected void setSelectedIndex(int index)
public void setSelectedItem(java.lang.String key)
Set the value of the selectedItem
property.
If there are multiple matches between the key parameter, and the
data model's SelectItem objects' itemLabel, it won't match any,
unless one of the matching SelectItem objects equals the last
selectedItem. Note that this component can only keep a reference
to the last selectedItem if its value field is Serializable.
public javax.faces.model.SelectItem getSelectedItem()
Return the value of the selectedItem
property.
public void setRows(int rows)
Set the value of the rows
property.
public int getRows()
Return the value of the rows
property.
public void setWidth(java.lang.String width)
Set the value of the width
property.
public void setListVar(java.lang.String listVar)
Set the value of the listVar
property.
public java.lang.String getListVar()
Return the value of the listVar
property.
public void setListValue(java.util.List listValue)
Set the value of the listValue
property.
public java.util.List getListValue()
Return the value of the listValue
property.
public java.lang.String getWidth()
Return the value of the width
property.
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass
property.
setStyleClass
in class HtmlInputText
public java.lang.String getStyleClass()
Return the value of the styleClass
property.
getStyleClass
in class HtmlInputText
public java.lang.String getInputTextClass()
Return the value of the inputTextClass
property.
public java.lang.String getListClass()
Return the value of the listClass
property.
public java.lang.String getRowClass()
Return the value of the rowClass
property.
public java.lang.String getSelectedRowClass()
Return the value of the selectedRowClass
property.
public java.lang.String getOptions()
public void setOptions(java.lang.String options)
public javax.faces.el.MethodBinding getTextChangeListener()
public void setTextChangeListener(javax.faces.el.MethodBinding mb)
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 HtmlInputText
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 HtmlInputText
public java.lang.String getOnkeypress()
getOnkeypress
in class javax.faces.component.html.HtmlInputText
public java.lang.Object saveSeriesState(javax.faces.context.FacesContext facesContext)
saveSeriesState
in interface org.icefaces.impl.component.SeriesStateHolder
public void restoreSeriesState(javax.faces.context.FacesContext facesContext, java.lang.Object state)
restoreSeriesState
in interface org.icefaces.impl.component.SeriesStateHolder
|
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 |