com.infragistics.faces.input.component.html
Class HtmlInputEmail
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
com.infragistics.faces.input.component.BaseInput
com.infragistics.faces.input.component.InputEmail
com.infragistics.faces.input.component.html.HtmlInputEmail
- All Implemented Interfaces:
- javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder
- public class HtmlInputEmail
- extends InputEmail
This component checks that the value entered is a valid email address
Customizable Look and Feel
Background, color, border, font attributes and much more can be customized and applied to this component
The table below summarizes which elements can be customized:
| Fields inherited from class javax.faces.component.UIInput |
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
|
Method Summary |
java.lang.String |
getFamily()
|
java.lang.String |
getStyle()
Returns the default Style applied to the component |
java.lang.String |
getStyleClass()
Returns the name of the css clas applied to the component |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setStyle(java.lang.String style)
Sets the default Style applied to the component |
void |
setStyleClass(java.lang.String cssClass)
Sets the name of the css class applied to the component |
| Methods inherited from class javax.faces.component.UIInput |
addValidator, addValueChangeListener, broadcast, decode, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel |
| Methods inherited from class javax.faces.component.UIOutput |
getConverter, getLocalValue, getValue, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.ValueHolder |
getConverter, getLocalValue, getValue, setConverter |
COMPONENT_FAMILY
public static java.lang.String COMPONENT_FAMILY
COMPONENT_TYPE
public static java.lang.String COMPONENT_TYPE
RENDERER_TYPE
public static java.lang.String RENDERER_TYPE
HtmlInputEmail
public HtmlInputEmail()
getFamily
public java.lang.String getFamily()
- Overrides:
getFamily in class InputEmail
getStyle
public java.lang.String getStyle()
- Returns the default Style applied to the component
- Returns:
- a CSS style
getStyleClass
public java.lang.String getStyleClass()
- Returns the name of the css clas applied to the component
- Returns:
- the name of a css class
setStyle
public void setStyle(java.lang.String style)
- Sets the default Style applied to the component
- Parameters:
style -
setStyleClass
public void setStyleClass(java.lang.String cssClass)
- Sets the name of the css class applied to the component
- Parameters:
cssClass -
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState in interface javax.faces.component.StateHolder- Overrides:
restoreState in class InputEmail
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState in interface javax.faces.component.StateHolder- Overrides:
saveState in class InputEmail