Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: FXGLCheckBox

[12:7] extends: CheckBox

Wraps FXGL's FXGLCheckBox, a JavaFX CheckBox subclass with the "fxgl-check-box" style class for FXGL theme styling.

Methods

  • FXGLCheckBox ()

    Creates a new FXGLCheckBox.

  • isSelected ()

    Returns whether the checkbox is selected.

    • @r A bool.
  • setSelected (bool Selected)

    Sets the selected state.

    • @p Selected is the new state.
    • @r this object