Class ComboProperty
java.lang.Object
com.soulfiremc.server.settings.property.ComboProperty
- All Implemented Interfaces:
Property
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncapitalizeEnum(T enumValue) protected voidcheck()abstract Stringabstract Stringbooleandisabled()abstract Stringkey()abstract List<ComboProperty.ComboOption> options()static <T extends Enum<T>>
ComboProperty.ComboOption[]optionsFromEnum(T[] values, Function<T, String> displayNameMapper, Function<T, @Nullable String> iconMapper) abstract StringuiName()
-
Constructor Details
-
ComboProperty
public ComboProperty()
-
-
Method Details
-
optionsFromEnum
-
capitalizeEnum
-
key
-
uiName
-
description
-
options
-
defaultValue
-
disabled
@Default public boolean disabled() -
check
@Check protected void check()
-