Package zombie
Class SandboxOptions.EnumSandboxOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.IntegerConfigOption
zombie.config.EnumConfigOption
zombie.SandboxOptions.EnumSandboxOption
- All Implemented Interfaces:
SandboxOptions.SandboxOption
- Enclosing class:
- SandboxOptions
public static class SandboxOptions.EnumSandboxOption
extends EnumConfigOption
implements SandboxOptions.SandboxOption
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected String
protected String
protected String
protected String
protected String
Fields inherited from class zombie.config.IntegerConfigOption
defaultValue, max, min, value
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
ConstructorDescriptionEnumSandboxOption
(SandboxOptions sandboxOptions, String string, int int1, int int2) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fromTable
(KahluaTable kahluaTable) getValueTranslationByIndex
(int int1) getValueTranslationByIndexOrNull
(int int1) boolean
isCustom()
void
setPageName
(String string) setTranslation
(String string) setValueTranslation
(String string) void
toTable
(KahluaTable kahluaTable) Methods inherited from class zombie.config.EnumConfigOption
getNumValues, getType
Methods inherited from class zombie.config.IntegerConfigOption
getDefaultValue, getMax, getMin, getValue, getValueAsObject, getValueAsString, isValidString, parse, resetToDefault, setDefaultToCurrentValue, setValue, setValueFromObject
Methods inherited from class zombie.config.ConfigOption
getName, getValueAsLuaString
-
Field Details
-
translation
-
tableName
-
shortName
-
bCustom
protected boolean bCustom -
pageName
-
valueTranslation
-
-
Constructor Details
-
EnumSandboxOption
-
-
Method Details
-
asConfigOption
- Specified by:
asConfigOption
in interfaceSandboxOptions.SandboxOption
-
getShortName
- Specified by:
getShortName
in interfaceSandboxOptions.SandboxOption
-
getTableName
- Specified by:
getTableName
in interfaceSandboxOptions.SandboxOption
-
setTranslation
- Specified by:
setTranslation
in interfaceSandboxOptions.SandboxOption
-
getTranslatedName
- Specified by:
getTranslatedName
in interfaceSandboxOptions.SandboxOption
-
getTooltip
- Specified by:
getTooltip
in interfaceSandboxOptions.SandboxOption
- Overrides:
getTooltip
in classIntegerConfigOption
-
fromTable
- Specified by:
fromTable
in interfaceSandboxOptions.SandboxOption
-
toTable
- Specified by:
toTable
in interfaceSandboxOptions.SandboxOption
-
setCustom
public void setCustom()- Specified by:
setCustom
in interfaceSandboxOptions.SandboxOption
-
isCustom
public boolean isCustom()- Specified by:
isCustom
in interfaceSandboxOptions.SandboxOption
-
setPageName
- Specified by:
setPageName
in interfaceSandboxOptions.SandboxOption
-
getPageName
- Specified by:
getPageName
in interfaceSandboxOptions.SandboxOption
-
setValueTranslation
-
getValueTranslation
-
getValueTranslationByIndex
-
getValueTranslationByIndexOrNull
-