Interface Slider

All Superinterfaces:
NonLinkableWidget, Widget

@NonNullByDefault public interface Slider extends NonLinkableWidget
A representation of a sitemap Slider widget.
Author:
Mark Herwege - Initial contribution
  • Method Details

    • isSwitchEnabled

      boolean isSwitchEnabled()
      Return true if the UI should render switch capabilities for the slider.
      Returns:
      true if switch enabled
    • setSwitchEnabled

      void setSwitchEnabled(@Nullable Boolean switchEnabled)
      Set switch enabled.
      Parameters:
      switchEnabled -
    • isReleaseOnly

      boolean isReleaseOnly()
      Return true if the UI should only send updates to core on mouse release.
      Returns:
      true if release only
    • setReleaseOnly

      void setReleaseOnly(@Nullable Boolean releaseOnly)
      Set release only.
      Parameters:
      releaseOnly -
    • getMinValue

      @Nullable BigDecimal getMinValue()
      Get minimum slider value.
      Returns:
      minValue
    • setMinValue

      void setMinValue(@Nullable BigDecimal minValue)
      Set minimum slider value.
      Parameters:
      minValue -
    • getMaxValue

      @Nullable BigDecimal getMaxValue()
      Get maximum slider value.
      Returns:
      maxValue
    • setMaxValue

      void setMaxValue(@Nullable BigDecimal maxValue)
      Set maximum slider value.
      Parameters:
      maxValue -
    • getStep

      @Nullable BigDecimal getStep()
      Get slider step.
      Returns:
      step
    • setStep

      void setStep(@Nullable BigDecimal step)
      Set slider step.
      Parameters:
      step -