Interface IRangeslider

All Superinterfaces:
IAnyGroup<IRangeslider>, IComponent<IRangeslider>, IDisable<IRangeslider>, IHtmlBasedComponent<IRangeslider>, IRangesliderBase<IRangeslider>, ISingleChildable<IRangeslider,ISliderbuttons>, IXulElement<IRangeslider>

public interface IRangeslider extends IRangesliderBase<IRangeslider>
Immutable Rangeslider component

A rangeslider. Like ZK Slider, but it supports a range value in slider.

Support @Action

Name Action Type
onRangeValueChange ActionData: RangeValueChangeData
Denotes the range value of a component has been changed by the user.
Author:
katherine
See Also:
  • Rangeslider
  • Field Details

    • DEFAULT

      static final IRangeslider DEFAULT
      Constant for default attributes of this immutable component.
  • Method Details

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zkex.slider.Rangeslider"

      Specified by:
      getWidgetClass in interface IComponent<IRangeslider>
    • getStartValue

      @Lazy default int getStartValue()
      Returns the start value of this rangeslider.

      Default: 0.

    • withStartValue

      default IRangeslider withStartValue(int startValue)
      Returns a copy of this immutable component with the specified startValue.

      Sets the start value of this sliderbuttons.

      Parameters:
      startValue - The start value of this sliderbuttons.

      Default: 0.

      Returns:
      A modified copy of the this object
    • getEndValue

      @Lazy default int getEndValue()
      Returns the end value of this rangeslider.

      Default: 0.

    • withEndValue

      default IRangeslider withEndValue(int endValue)
      Returns a copy of this immutable component with the specified endValue.

      Sets the end value of this sliderbuttons.

      Parameters:
      endValue - The end value of this sliderbuttons.

      Default: 0.

      Returns:
      A modified copy of the this object
    • of

      static IRangeslider of(int startValue, int endValue)
      Returns the instance with the given startValue and endValue
      Parameters:
      startValue - The start value of the sliderbuttons
      endValue - The end value of the sliderbuttons
    • ofOrient

      static IRangeslider ofOrient(String orient)
      Returns the instance with the given orient.
      Parameters:
      orient - The orient value
    • ofOrient

      static IRangeslider ofOrient(IRangesliderBase.Orient orient)
      Returns the instance with the given orient.
      Parameters:
      orient - The orient value
    • ofId

      static IRangeslider ofId(String id)
      Returns the instance with the given id.
      Parameters:
      id - The id to identify this component