com.infragistics.faces.input.component
Class CheckBox

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.CheckBox
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder
Direct Known Subclasses:
HtmlCheckBox, RadioButton

public class CheckBox
extends BaseInput


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
CheckBox()
           
 
Method Summary
 java.lang.String getFamily()
           
 java.lang.String getLabel()
          Returns the
 java.lang.String getSmartRefreshIds()
          Returns the Comma-separated list of component IDs to refresh on value change.
 boolean isChecked()
          Returns the Flag indicating whether the component is checked or not
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
          (non-Javadoc)
 java.lang.Object saveState(javax.faces.context.FacesContext context)
          (non-Javadoc)
 void setChecked(boolean checked)
          Sets the Flag indicating whether the component is checked or not
 void setLabel(java.lang.String label)
          Sets the
 void setSmartRefreshIds(java.lang.String smartRefreshIds)
          Sets the Comma-separated list of component IDs to refresh on value change.
 void validate(javax.faces.context.FacesContext context)
           
 
Methods inherited from class com.infragistics.faces.input.component.BaseInput
getShortcut, getTooltip, isDisabled, isReadOnly, setDisabled, setReadOnly, setShortcut, setTooltip
 
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

CheckBox

public CheckBox()
Method Detail

getFamily

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

getLabel

public java.lang.String getLabel()
Returns the

Returns:
java.lang.String

getSmartRefreshIds

public java.lang.String getSmartRefreshIds()
Returns the Comma-separated list of component IDs to refresh on value change. Unknown IDs will be silently ignored.

Returns:
java.lang.String

isChecked

public boolean isChecked()
Returns the Flag indicating whether the component is checked or not

Returns:
boolean

restoreState

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

Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class BaseInput
See Also:
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)

saveState

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

Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class BaseInput
See Also:
StateHolder.saveState(javax.faces.context.FacesContext)

setChecked

public void setChecked(boolean checked)
Sets the Flag indicating whether the component is checked or not


setLabel

public void setLabel(java.lang.String label)
Sets the


setSmartRefreshIds

public void setSmartRefreshIds(java.lang.String smartRefreshIds)
Sets the Comma-separated list of component IDs to refresh on value change. Unknown IDs will be silently ignored.


validate

public void validate(javax.faces.context.FacesContext context)
Overrides:
validate in class BaseInput