Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: FXGLSlider

[12:7] extends: Slider

Wraps FXGL's FXGLSlider, a JavaFX Slider subclass with FXGL theme styling.

Methods

  • FXGLSlider ()

    Creates a new FXGLSlider with default range 0-100.

  • getValue ()

    Returns the current slider value.

    • @r A double.
  • setValue (double Value)

    Sets the slider value.

    • @p Value is the new value.
    • @r this object
  • setMin (double Min)

    Sets the minimum value.

    • @p Min is the new minimum.
    • @r this object
  • setMax (double Max)

    Sets the maximum value.

    • @p Max is the new maximum.
    • @r this object