Class InputSwitchBase

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.primefaces.component.inputswitch.InputSwitchBase
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, PrimeClientBehaviorHolder, Widget
Direct Known Subclasses:
InputSwitch

@Deprecated(since="10.0", forRemoval=true) public abstract class InputSwitchBase extends javax.faces.component.UIInput implements Widget, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder
Deprecated, for removal: This API element is subject to removal in a future version.
in 10.0 use ToggleSwitch
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Fields inherited from class javax.faces.component.UIInput

    ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE, COMPONENT_TYPE, 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.PrimeClientBehaviorHolder

    DEFAULT_SELECT_EVENT_NAMES

    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
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setDisabled(boolean disabled)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setOffLabel(String offLabel)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setOnblur(String onblur)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setOnchange(String onchange)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setOnfocus(String onfocus)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setOnLabel(String onLabel)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setShowLabels(boolean showLabels)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setStyleClass(String styleClass)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setTabindex(String tabindex)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setWidgetVar(String widgetVar)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class javax.faces.component.UIInput

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

    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, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent

    Methods inherited from class javax.faces.component.UIComponent

    encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, 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, getDefaultEventName, getEventNames

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

    getBehaviorEventMapping

    Methods inherited from interface javax.faces.component.ValueHolder

    getConverter, getLocalValue, setConverter

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

    resolveWidgetVar, resolveWidgetVar
  • Field Details

    • COMPONENT_FAMILY

      public static final String COMPONENT_FAMILY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • DEFAULT_RENDERER

      public static final String DEFAULT_RENDERER
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • InputSwitchBase

      public InputSwitchBase()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getFamily

      public String getFamily()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      getFamily in class javax.faces.component.UIInput
    • getWidgetVar

      public String getWidgetVar()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setWidgetVar

      public void setWidgetVar(String widgetVar)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getOnLabel

      public String getOnLabel()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setOnLabel

      public void setOnLabel(String onLabel)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getOffLabel

      public String getOffLabel()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setOffLabel

      public void setOffLabel(String offLabel)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getLabel

      public String getLabel()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setLabel

      public void setLabel(String label)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isDisabled

      public boolean isDisabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setDisabled

      public void setDisabled(boolean disabled)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getOnchange

      public String getOnchange()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setOnchange

      public void setOnchange(String onchange)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getStyle

      public String getStyle()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setStyle

      public void setStyle(String style)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getStyleClass

      public String getStyleClass()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setStyleClass

      public void setStyleClass(String styleClass)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTabindex

      public String getTabindex()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTabindex

      public void setTabindex(String tabindex)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isShowLabels

      public boolean isShowLabels()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setShowLabels

      public void setShowLabels(boolean showLabels)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getOnfocus

      public String getOnfocus()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setOnfocus

      public void setOnfocus(String onfocus)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getOnblur

      public String getOnblur()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setOnblur

      public void setOnblur(String onblur)
      Deprecated, for removal: This API element is subject to removal in a future version.