public abstract class TextEntryBase extends javax.faces.component.html.HtmlInputText implements ITextEntry, IceClientBehaviorHolder
For more information, see the TextEntry Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TextEntryBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
TextEntryBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getAutocapitalize()
Return the value of the
autocapitalize property. |
java.lang.String |
getAutocorrect()
Return the value of the
autocorrect property. |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getIndicatorPosition()
Return the value of the
indicatorPosition property. |
java.lang.String |
getLabelPosition()
Return the value of the
labelPosition property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
int |
getMax()
Return the value of the
max property. |
int |
getMin()
Return the value of the
min property. |
java.lang.String |
getOptionalIndicator()
Return the value of the
optionalIndicator property. |
java.lang.String |
getPattern()
Return the value of the
pattern property. |
java.lang.String |
getPlaceholder()
Return the value of the
placeholder property. |
java.lang.String |
getRequiredIndicator()
Return the value of the
requiredIndicator property. |
int |
getResults()
Return the value of the
results property. |
int |
getStep()
Return the value of the
step property. |
java.lang.String |
getType()
Return the value of the
type property. |
java.lang.String |
getWidgetVar()
Return the value of the
widgetVar property. |
boolean |
isAutoTab()
Return the value of the
autoTab property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isRedisplay()
Return the value of the
redisplay property. |
boolean |
isSecret()
Return the value of the
secret property. |
void |
setAutocapitalize(java.lang.String autocapitalize)
Set the value of the
autocapitalize property. |
void |
setAutocorrect(java.lang.String autocorrect)
Set the value of the
autocorrect property. |
void |
setAutoTab(boolean autoTab)
Set the value of the
autoTab property. |
void |
setIndicatorPosition(java.lang.String indicatorPosition)
Set the value of the
indicatorPosition property. |
void |
setLabelPosition(java.lang.String labelPosition)
Set the value of the
labelPosition property. |
void |
setMax(int max)
Set the value of the
max property. |
void |
setMin(int min)
Set the value of the
min property. |
void |
setOptionalIndicator(java.lang.String optionalIndicator)
Set the value of the
optionalIndicator property. |
void |
setPattern(java.lang.String pattern)
Set the value of the
pattern property. |
void |
setPlaceholder(java.lang.String placeholder)
Set the value of the
placeholder property. |
void |
setRedisplay(boolean redisplay)
Set the value of the
redisplay property. |
void |
setRequiredIndicator(java.lang.String requiredIndicator)
Set the value of the
requiredIndicator property. |
void |
setResults(int results)
Set the value of the
results property. |
void |
setSecret(boolean secret)
Set the value of the
secret property. |
void |
setStep(int step)
Set the value of the
step property. |
void |
setType(java.lang.String type)
Set the value of the
type property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setWidgetVar(java.lang.String widgetVar)
Set the value of the
widgetVar property. |
getAccesskey, getAlt, getAutocomplete, getDir, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setAutocomplete, setDir, setDisabled, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setSize, setStyle, setStyleClass, setTabindex, setTitleaddValidator, addValueChangeListener, 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, validateValuegetConverter, getLocalValue, setConverteraddFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIInputpublic void setAutoTab(boolean autoTab)
Set the value of the autoTab property.
Contents: When true the component will automatically tab to the next component once the maxLength number of characters have been entered.
setAutoTab in interface ITextEntrypublic boolean isAutoTab()
Return the value of the autoTab property.
Contents: When true the component will automatically tab to the next component once the maxLength number of characters have been entered.
isAutoTab in interface ITextEntrypublic void setAutocapitalize(java.lang.String autocapitalize)
Set the value of the autocapitalize property.
Contents: An html5 feature of mobile browser capability which will capitalize the first character of the field.
setAutocapitalize in interface ITextEntrypublic java.lang.String getAutocapitalize()
Return the value of the autocapitalize property.
Contents: An html5 feature of mobile browser capability which will capitalize the first character of the field. Default = 'off'.
getAutocapitalize in interface ITextEntrypublic void setAutocorrect(java.lang.String autocorrect)
Set the value of the autocorrect property.
Contents: The autocorrect is an html5 attribute that may correct spelling errors in the field if supported in the browser
setAutocorrect in interface ITextEntrypublic java.lang.String getAutocorrect()
Return the value of the autocorrect property.
Contents: The autocorrect is an html5 attribute that may correct spelling errors in the field if supported in the browser Default = 'off'.
getAutocorrect in interface ITextEntrypublic void setIndicatorPosition(java.lang.String indicatorPosition)
Set the value of the indicatorPosition property.
Contents: Position of input-required or input-optional indicator relative to input field or label. Supported values are "left/right/top/bottom/labelLeft/labelRight/none". Default is "labelRight" if labelPosition is "inField", "right" otherwise.
setIndicatorPosition in interface ITextEntrypublic java.lang.String getIndicatorPosition()
Return the value of the indicatorPosition property.
Contents: Position of input-required or input-optional indicator relative to input field or label. Supported values are "left/right/top/bottom/labelLeft/labelRight/none". Default is "labelRight" if labelPosition is "inField", "right" otherwise.
getIndicatorPosition in interface ITextEntrypublic void setLabelPosition(java.lang.String labelPosition)
Set the value of the labelPosition property.
Contents: Position of label relative to input field. Supported values are "left/right/top/bottom/inField/none". Default is "none".
setLabelPosition in interface ITextEntrypublic java.lang.String getLabelPosition()
Return the value of the labelPosition property.
Contents: Position of label relative to input field. Supported values are "left/right/top/bottom/inField/none". Default is "none".
getLabelPosition in interface ITextEntrypublic void setMax(int max)
Set the value of the max property.
Contents: Maximum value is an html5 passthrough attribute, and only applicable to type number. Will not be rendered if attribute is not present
setMax in interface ITextEntrypublic int getMax()
Return the value of the max property.
Contents: Maximum value is an html5 passthrough attribute, and only applicable to type number. Will not be rendered if attribute is not present Default = 'Integer.MIN_VALUE'.
getMax in interface ITextEntrypublic void setMin(int min)
Set the value of the min property.
Contents: Minimum value is an html5 passthrough attribute and only applicable to type number. Will not be rendered if not present.
setMin in interface ITextEntrypublic int getMin()
Return the value of the min property.
Contents: Minimum value is an html5 passthrough attribute and only applicable to type number. Will not be rendered if not present. Default = 'Integer.MIN_VALUE'.
getMin in interface ITextEntrypublic void setOptionalIndicator(java.lang.String optionalIndicator)
Set the value of the optionalIndicator property.
Contents: Indicator indicating that the user is NOT required to provide a submitted value for this input component.
setOptionalIndicator in interface ITextEntrypublic java.lang.String getOptionalIndicator()
Return the value of the optionalIndicator property.
Contents: Indicator indicating that the user is NOT required to provide a submitted value for this input component.
getOptionalIndicator in interface ITextEntrypublic void setPattern(java.lang.String pattern)
Set the value of the pattern property.
Contents: The html5 pattern attribute specifies a regular expression against which the control's value, or, when the multiple attribute applies and is set, the control's values, are to be checked.
setPattern in interface ITextEntrypublic java.lang.String getPattern()
Return the value of the pattern property.
Contents: The html5 pattern attribute specifies a regular expression against which the control's value, or, when the multiple attribute applies and is set, the control's values, are to be checked.
getPattern in interface ITextEntrypublic void setPlaceholder(java.lang.String placeholder)
Set the value of the placeholder property.
Contents: The HTML5 placeholder attribute represents a short hint (a word or short phrase) intended to aid the user with data entry when the input element has no value.
setPlaceholder in interface ITextEntrypublic java.lang.String getPlaceholder()
Return the value of the placeholder property.
Contents: The HTML5 placeholder attribute represents a short hint (a word or short phrase) intended to aid the user with data entry when the input element has no value.
getPlaceholder in interface ITextEntrypublic void setRedisplay(boolean redisplay)
Set the value of the redisplay property.
Contents: If false, the component will not redisplay its value when the page reloads.
setRedisplay in interface ITextEntrypublic boolean isRedisplay()
Return the value of the redisplay property.
Contents: If false, the component will not redisplay its value when the page reloads. Default = 'true'.
isRedisplay in interface ITextEntrypublic void setRequiredIndicator(java.lang.String requiredIndicator)
Set the value of the requiredIndicator property.
Contents: Indicator indicating that the user is required to provide a submitted value for this input component.
setRequiredIndicator in interface ITextEntrypublic java.lang.String getRequiredIndicator()
Return the value of the requiredIndicator property.
Contents: Indicator indicating that the user is required to provide a submitted value for this input component.
getRequiredIndicator in interface ITextEntrypublic void setResults(int results)
Set the value of the results property.
Contents: Magnifying glass for webkit used to show last three searches on a search field.
setResults in interface ITextEntrypublic int getResults()
Return the value of the results property.
Contents: Magnifying glass for webkit used to show last three searches on a search field. Default = '3'.
getResults in interface ITextEntrypublic void setSecret(boolean secret)
Set the value of the secret property.
Contents: If true, when the user types a string into this field, a row of asterisks will be displayed instead of the text the user typed.
setSecret in interface ITextEntrypublic boolean isSecret()
Return the value of the secret property.
Contents: If true, when the user types a string into this field, a row of asterisks will be displayed instead of the text the user typed. Default = 'false'.
isSecret in interface ITextEntrypublic void setStep(int step)
Set the value of the step property.
Contents: The html5 step attributeto increase/decrease the value of the number input. Requires min and max atribute. Applicable only to type "number".
setStep in interface ITextEntrypublic int getStep()
Return the value of the step property.
Contents: The html5 step attributeto increase/decrease the value of the number input. Requires min and max atribute. Applicable only to type "number". Default = 'Integer.MIN_VALUE'.
getStep in interface ITextEntrypublic void setType(java.lang.String type)
Set the value of the type property.
Contents: The html5 type attribute for the input element. Currently supports text, phone, url, email, number, date, time, datetime. Depending on browser and/or device capability, a type-specific keyboard may be displayed and various other attributes may apply for the html5 input element. It is up to the developer to ensure that the browsers and devices they are targetting are supported properly.
setType in interface ITextEntrypublic java.lang.String getType()
Return the value of the type property.
Contents: The html5 type attribute for the input element. Currently supports text, phone, url, email, number, date, time, datetime. Depending on browser and/or device capability, a type-specific keyboard may be displayed and various other attributes may apply for the html5 input element. It is up to the developer to ensure that the browsers and devices they are targetting are supported properly. Default = 'text'.
getType in interface ITextEntrypublic void setWidgetVar(java.lang.String widgetVar)
Set the value of the widgetVar property.
Contents: Name of the widget variable to access client-side API.
setWidgetVar in interface ITextEntrypublic java.lang.String getWidgetVar()
Return the value of the widgetVar property.
Contents: Name of the widget variable to access client-side API.
getWidgetVar in interface ITextEntryprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.html.HtmlInputTextpublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.html.HtmlInputTextpublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.