Interface ISliderbuttons

    • Field Detail

      • DEFAULT

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

      • getWidgetClass

        default java.lang.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​(java.lang.String id)
        Returns the instance with the given id.
        Parameters:
        id - The id to identify this component.