Class TriStateManyCheckbox

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
javax.faces.component.UISelectMany
javax.faces.component.html.HtmlSelectManyCheckbox
org.primefaces.extensions.component.tristatemanycheckbox.TriStateManyCheckbox
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.EditableValueHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, org.primefaces.component.api.Widget

public class TriStateManyCheckbox extends javax.faces.component.html.HtmlSelectManyCheckbox implements org.primefaces.component.api.Widget
TriStateManyCheckbox
Since:
0.3
Version:
$Revision$
Author:
Mauricio Fenoglio / last modified by $Author$
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static enum 
    PropertyKeys
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class javax.faces.component.UISelectMany

    INVALID_MESSAGE_ID

    Fields inherited from class javax.faces.component.UIInput

    ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, CONVERSION_MESSAGE_ID, EMPTY_STRING_AS_NULL_PARAM_NAME, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME

    Fields inherited from class javax.faces.component.UIComponent

    ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY

    Fields inherited from interface org.primefaces.component.api.Widget

    ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
     
     
     
     
     
    void
    setLayout(String layout)
     
    void
    setStateOneIcon(String stateOneIcon)
     
    void
    setStateOneTitle(String stateOneTitle)
     
    void
    setStateThreeIcon(String stateThreeIcon)
     
    void
    setStateThreeTitle(String stateThreeTitle)
     
    void
    setStateTwoIcon(String stateTwoIcon)
     
    void
    setStateTwoTitle(String stateTwoTitle)
     
    void
    setWidgetVar(String widgetVar)
     
    protected void
    validateValue(javax.faces.context.FacesContext context, Object value)
     

    Methods inherited from class javax.faces.component.html.HtmlSelectManyCheckbox

    getAccesskey, getBorder, getDefaultEventName, getDir, getDisabledClass, getEnabledClass, getEventNames, getLabel, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getSelectedClass, getStyle, getStyleClass, getTabindex, getTitle, getUnselectedClass, isDisabled, isReadonly, setAccesskey, setBorder, setDir, setDisabled, setDisabledClass, setEnabledClass, setLabel, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setSelectedClass, setStyle, setStyleClass, setTabindex, setTitle, setUnselectedClass

    Methods inherited from class javax.faces.component.UISelectMany

    compareValues, getSelectedValues, getSubmittedValue, getValueBinding, getValueExpression, setSelectedValues, setSubmittedValue, setValueBinding, setValueExpression

    Methods inherited from class javax.faces.component.UIInput

    addValidator, addValueChangeListener, clearInitialState, decode, getConvertedValue, getConverterMessage, getRequiredMessage, 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, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate

    Methods inherited from class javax.faces.component.UIOutput

    getConverter, getLocalValue, setConverter

    Methods inherited from class javax.faces.component.UIComponentBase

    addClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent

    Methods inherited from class javax.faces.component.UIComponent

    encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder

    addClientBehavior, getClientBehaviors

    Methods inherited from interface javax.faces.component.ValueHolder

    getConverter, getLocalValue, setConverter

    Methods inherited from interface org.primefaces.component.api.Widget

    resolveWidgetVar, resolveWidgetVar
  • Field Details

  • Constructor Details

    • TriStateManyCheckbox

      public TriStateManyCheckbox()
  • Method Details

    • getFamily

      public String getFamily()
      Overrides:
      getFamily in class javax.faces.component.UISelectMany
    • getWidgetVar

      public String getWidgetVar()
    • setWidgetVar

      public void setWidgetVar(String widgetVar)
    • getLayout

      public String getLayout()
      Overrides:
      getLayout in class javax.faces.component.html.HtmlSelectManyCheckbox
    • setLayout

      public void setLayout(String layout)
      Overrides:
      setLayout in class javax.faces.component.html.HtmlSelectManyCheckbox
    • getStateOneIcon

      public String getStateOneIcon()
    • setStateOneIcon

      public void setStateOneIcon(String stateOneIcon)
    • getStateTwoIcon

      public String getStateTwoIcon()
    • setStateTwoIcon

      public void setStateTwoIcon(String stateTwoIcon)
    • getStateThreeIcon

      public String getStateThreeIcon()
    • setStateThreeIcon

      public void setStateThreeIcon(String stateThreeIcon)
    • getStateOneTitle

      public String getStateOneTitle()
    • setStateOneTitle

      public void setStateOneTitle(String stateOneTitle)
    • getStateTwoTitle

      public String getStateTwoTitle()
    • setStateTwoTitle

      public void setStateTwoTitle(String stateTwoTitle)
    • getStateThreeTitle

      public String getStateThreeTitle()
    • setStateThreeTitle

      public void setStateThreeTitle(String stateThreeTitle)
    • validateValue

      protected void validateValue(javax.faces.context.FacesContext context, Object value)
      Overrides:
      validateValue in class javax.faces.component.UISelectMany