com.infragistics.faces.input.component
Class BaseInput

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
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder
Direct Known Subclasses:
BaseSelectItemList, CheckBox, DateChooser, InputEmail, InputNumber, InputRegularExpression

public class BaseInput
extends javax.faces.component.UIInput


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
BaseInput()
           
 
Method Summary
 java.lang.String getFamily()
           
 java.lang.String getShortcut()
          Returns the Shorcut key associated with the component.
 java.lang.String getTooltip()
          Returns the Tooltip string associated with this component.
 boolean isDisabled()
          Returns the Input sensitivity status.
 boolean isReadOnly()
          Returns the Input sensitivity status.
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setDisabled(boolean disabled)
          Sets the Input sensitivity status.
 void setReadOnly(boolean readOnly)
          Sets the Input sensitivity status.
 void setShortcut(java.lang.String shortcut)
          Sets the Shorcut key associated with the component.
 void setTooltip(java.lang.String tooltip)
          Sets the Tooltip string associated with this component.
 void validate(javax.faces.context.FacesContext context)
           
 
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 java.lang.String COMPONENT_TYPE

RENDERER_TYPE

public static java.lang.String RENDERER_TYPE
Constructor Detail

BaseInput

public BaseInput()
Method Detail

validate

public void validate(javax.faces.context.FacesContext context)

getFamily

public java.lang.String getFamily()

isDisabled

public boolean isDisabled()
Returns the Input sensitivity status. Disabled components may not be selected by the user and are visibly disabled.

Returns:
boolean

isReadOnly

public boolean isReadOnly()
Returns the Input sensitivity status. Read-only components may not be editted by the user are not visibly disabled.

Returns:
boolean

getShortcut

public java.lang.String getShortcut()
Returns the Shorcut key associated with the component. A platform dependent modifier (alt, shift etc) is automatically added.

Returns:
java.lang.String

getTooltip

public java.lang.String getTooltip()
Returns the Tooltip string associated with this component. The string is automatically displayed in the browser status bar or as a popup tooltip where appropriate.

Returns:
java.lang.String

setDisabled

public void setDisabled(boolean disabled)
Sets the Input sensitivity status. Disabled components may not be selected by the user and are visibly disabled.


setReadOnly

public void setReadOnly(boolean readOnly)
Sets the Input sensitivity status. Read-only components may not be editted by the user are not visibly disabled.


setShortcut

public void setShortcut(java.lang.String shortcut)
Sets the Shorcut key associated with the component. A platform dependent modifier (alt, shift etc) is automatically added.


setTooltip

public void setTooltip(java.lang.String tooltip)
Sets the Tooltip string associated with this component. The string is automatically displayed in the browser status bar or as a popup tooltip where appropriate.


restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)