Class SliderBase

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.primefaces.component.slider.SliderBase
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, TouchAware, Widget
Direct Known Subclasses:
Slider

public abstract class SliderBase extends javax.faces.component.UIInput implements Widget, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder, TouchAware
  • Nested Class Summary

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

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

    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.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
     
     
     
     
    double
     
    double
     
     
     
     
     
    double
     
     
     
     
     
    boolean
     
    boolean
     
    Is this component touch enabled?
    void
    setAnimate(boolean animate)
     
    void
    setDisabled(boolean disabled)
     
    void
    setDisplay(String display)
     
    void
    setDisplayTemplate(String displayTemplate)
     
    void
    setFor(String _for)
     
    void
    setMaxValue(double maxValue)
     
    void
    setMinValue(double minValue)
     
    void
    setOnSlide(String onSlide)
     
    void
    setOnSlideEnd(String onSlideEnd)
     
    void
    setOnSlideStart(String onSlideStart)
     
    void
     
    void
    setStep(double step)
     
    void
     
    void
    setStyleClass(String styleClass)
     
    void
    setTouchable(Boolean touchable)
    Enable/disable touch support for this component.
    void
     
    void
    setWidgetVar(String widgetVar)
     

    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

  • Constructor Details

    • SliderBase

      public SliderBase()
  • Method Details

    • getFamily

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

      public String getWidgetVar()
    • setWidgetVar

      public void setWidgetVar(String widgetVar)
    • getFor

      public String getFor()
    • setFor

      public void setFor(String _for)
    • getDisplay

      public String getDisplay()
    • setDisplay

      public void setDisplay(String display)
    • getMinValue

      public double getMinValue()
    • setMinValue

      public void setMinValue(double minValue)
    • getMaxValue

      public double getMaxValue()
    • setMaxValue

      public void setMaxValue(double maxValue)
    • getStyle

      public String getStyle()
    • setStyle

      public void setStyle(String style)
    • getStyleClass

      public String getStyleClass()
    • setStyleClass

      public void setStyleClass(String styleClass)
    • isAnimate

      public boolean isAnimate()
    • setAnimate

      public void setAnimate(boolean animate)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getStep

      public double getStep()
    • setStep

      public void setStep(double step)
    • isDisabled

      public boolean isDisabled()
    • setDisabled

      public void setDisabled(boolean disabled)
    • getOnSlideStart

      public String getOnSlideStart()
    • setOnSlideStart

      public void setOnSlideStart(String onSlideStart)
    • getOnSlide

      public String getOnSlide()
    • setOnSlide

      public void setOnSlide(String onSlide)
    • getOnSlideEnd

      public String getOnSlideEnd()
    • setOnSlideEnd

      public void setOnSlideEnd(String onSlideEnd)
    • getRange

      public String getRange()
    • setRange

      public void setRange(String range)
    • getDisplayTemplate

      public String getDisplayTemplate()
    • setDisplayTemplate

      public void setDisplayTemplate(String displayTemplate)
    • isTouchable

      public Boolean isTouchable()
      Description copied from interface: TouchAware
      Is this component touch enabled?
      Specified by:
      isTouchable in interface TouchAware
      Returns:
      false to disable
    • setTouchable

      public void setTouchable(Boolean touchable)
      Description copied from interface: TouchAware
      Enable/disable touch support for this component.
      Specified by:
      setTouchable in interface TouchAware
      Parameters:
      touchable - true for touch support