Interface SpinnerBuilder<T,​B extends SpinnerBuilder<T,​B>>

    • Method Detail

      • editable

        B editable​(boolean editable)
        Parameters:
        editable - false if the spinner field should not be editable
        Returns:
        this builder instance
      • columns

        B columns​(int columns)
        Parameters:
        columns - the number of colums in the spinner text component
        Returns:
        this builder instance
      • mouseWheelScrolling

        B mouseWheelScrolling​(boolean mouseWheelScrolling)
        Enable mouse wheel scrolling on the spinner
        Parameters:
        mouseWheelScrolling - true if mouse wheel scrolling should be enabled
        Returns:
        this builder instance
      • mouseWheelScrollingReversed

        B mouseWheelScrollingReversed​(boolean mouseWheelScrollingReversed)
        Enable reversed mouse wheel scrolling on the spinner
        Parameters:
        mouseWheelScrollingReversed - if true then up/away decreases the value and down/towards increases it.
        Returns:
        this builder instance
      • horizontalAlignment

        B horizontalAlignment​(int horizontalAlignment)
        Parameters:
        horizontalAlignment - the horizontal text alignment
        Returns:
        this builder instance