Interface ISliderbuttons

All Superinterfaces:
IAnyGroup<ISliderbuttons>, IComponent<ISliderbuttons>, IHtmlBasedComponent<ISliderbuttons>, IXulElement<ISliderbuttons>

public interface ISliderbuttons extends IXulElement<ISliderbuttons>, IAnyGroup<ISliderbuttons>
Immutable Sliderbuttons component

A pair of buttons for slider (rangeslider and multislider).

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:
  • Sliderbuttons
  • Field Details

    • DEFAULT

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

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zkex.slider.Sliderbuttons"

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

      default int getStartValue()
      Returns the start value of this sliderbuttons.

      Default: 0.

    • withStartValue

      ISliderbuttons 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

      default int getEndValue()
      Returns the end value of this sliderbuttons.

      Default: 0.

    • withEndValue

      ISliderbuttons 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 ISliderbuttons of(int start, int end)
      Returns the instance with the given start and end values.
      Parameters:
      start - The start value of the sliderbuttons.
      end - The end value of the sliderbuttons.
    • ofId

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