ValidatedEnum

constructor(clazz: Class<T>)

A validated Enum Class, initialized with the enum class.

See the Wiki for more details and examples.

Author

fzzyhmstrs

Since

Unknown

Parameters

T

the enum type. Any Enum

clazz

Enum class. The first constant will be used as the default value.


constructor(clazz: Class<T>, widgetType: ValidatedEnum.WidgetType)

A validated Enum Class, initialized with the enum class.

See the Wiki for more details and examples.

Author

fzzyhmstrs

Since

0.7.0

Parameters

T

the enum type. Any Enum

clazz

Enum class. The first constant will be used as the default value.

widgetType

WidgetType defines the GUI selection type. Defaults to POPUP


constructor(defaultValue: T, widgetType: ValidatedEnum.WidgetType = WidgetType.POPUP)

Parameters

T

the enum type. Any Enum

defaultValue

Enum Constant used as the default for this setting

widgetType

WidgetType defines the GUI selection type. Defaults to POPUP