com.infragistics.faces.input.component
Class InputRegularExpression

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UIOutput
              extended byjavax.faces.component.UIInput
                  extended bycom.infragistics.faces.input.component.BaseInput
                      extended bycom.infragistics.faces.input.component.InputRegularExpression
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder
Direct Known Subclasses:
HtmlInputRegularExpression

public class InputRegularExpression
extends BaseInput

InputRegularExpression checks that the value entered matches a regular expression.


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIInput
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Constructor Summary
InputRegularExpression()
           
 
Method Summary
 java.lang.String getFamily()
           
 int getMaximumLength()
          Returns the The maximum string length allowed for this field
 int getMaxLength()
           
 int getMinimumLength()
          Returns the The minimum string length allowed for this field
 int getMinLength()
           
 java.lang.String getRegularExpression()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setMaximumLength(int maximumLength)
          Sets the The maximum string length allowed for this field
 void setMaxLength(int maxLength)
           
 void setMinimumLength(int minimumLength)
          Sets the The minimum string length allowed for this field
 void setMinLength(int minLength)
           
 void setRegularExpression(java.lang.String regEx)
           
 
Methods inherited from class com.infragistics.faces.input.component.BaseInput
getShortcut, getTooltip, isDisabled, isReadOnly, setDisabled, setReadOnly, setShortcut, setTooltip, validate
 
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
 

Field Detail

COMPONENT_FAMILY

public static java.lang.String COMPONENT_FAMILY

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

RENDERER_TYPE

public static final java.lang.String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

InputRegularExpression

public InputRegularExpression()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class BaseInput

getMaximumLength

public int getMaximumLength()
Returns the The maximum string length allowed for this field

Returns:
int

getMinimumLength

public int getMinimumLength()
Returns the The minimum string length allowed for this field

Returns:
int

getMaxLength

public int getMaxLength()

getMinLength

public int getMinLength()

getRegularExpression

public java.lang.String getRegularExpression()

setMaximumLength

public void setMaximumLength(int maximumLength)
Sets the The maximum string length allowed for this field


setMinimumLength

public void setMinimumLength(int minimumLength)
Sets the The minimum string length allowed for this field


setMaxLength

public void setMaxLength(int maxLength)

setMinLength

public void setMinLength(int minLength)

setRegularExpression

public void setRegularExpression(java.lang.String regEx)

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 BaseInput

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class BaseInput