Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: EnumPropertyView

[13:7] extends: ChoiceBox

Wraps FXGL's EnumPropertyView, a JavaFX ChoiceBox subclass bidirectionally bound to an ObjectProperty. The choice list is auto-populated from the enum class's constants.

Methods

  • EnumPropertyView (object Prop)

    Creates a new EnumPropertyView bound to the given enum property.

    • @p Prop is an AussomJavaObject around an ObjectProperty.
  • getValue ()

    Returns the currently selected enum value.

    • @r An AussomJavaObject around the enum value.