Class ConfigValueEditorTypes
java.lang.Object
net.mezzdev.config.gui.api.ConfigValueEditorTypes
Standard editor types used by config screens.
- Since:
- 0.1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConfigValueEditorType<Boolean> static final ConfigValueEditorType<net.mezzdev.config.api.value.color.PackedColor> static final ConfigValueEditorType<Integer> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ConfigValueEditorType<T> An editor for key mapping values.static <T> ConfigValueEditorType<List<T>> getList()An editor for ordered list values.static <T> ConfigValueEditorType<T> An editor for values with a finite set of valid options.static <T> ConfigValueEditorType<T> getText()An editor for values that are best edited as serialized text.
-
Field Details
-
BOOLEAN
-
INTEGER
-
COLOR
-
-
Method Details
-
getText
An editor for values that are best edited as serialized text.- Since:
- 0.1.0
-
getSelection
An editor for values with a finite set of valid options.- Since:
- 0.1.0
-
getList
An editor for ordered list values.- Since:
- 0.1.0
-
getKeyMapping
An editor for key mapping values.- Since:
- 0.1.0
-