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
Fields Modifier and Type Field Description protected java.lang.String
shortName
protected java.lang.String
tableName
protected java.lang.String
translation
protected java.lang.String
valueTranslation
Fields inherited from class zombie.config.IntegerConfigOption
defaultValue, max, min, value
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
Constructors Constructor Description EnumSandboxOption(SandboxOptions sandboxOptions, java.lang.String string, int int1, int int2)
-
Method Summary
Modifier and Type Method Description ConfigOption
asConfigOption()
void
fromTable(KahluaTable kahluaTable)
java.lang.String
getShortName()
java.lang.String
getTableName()
java.lang.String
getTooltip()
java.lang.String
getTranslatedName()
java.lang.String
getValueTranslation()
java.lang.String
getValueTranslationByIndex(int int1)
SandboxOptions.SandboxOption
setTranslation(java.lang.String string)
SandboxOptions.EnumSandboxOption
setValueTranslation(java.lang.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
translation
protected java.lang.String translation -
tableName
protected java.lang.String tableName -
shortName
protected java.lang.String shortName -
valueTranslation
protected java.lang.String valueTranslation
-
-
Constructor Details
-
EnumSandboxOption
public EnumSandboxOption(SandboxOptions sandboxOptions, java.lang.String string, int int1, int int2)
-
-
Method Details
-
asConfigOption
- Specified by:
asConfigOption
in interfaceSandboxOptions.SandboxOption
-
getShortName
public java.lang.String getShortName()- Specified by:
getShortName
in interfaceSandboxOptions.SandboxOption
-
getTableName
public java.lang.String getTableName()- Specified by:
getTableName
in interfaceSandboxOptions.SandboxOption
-
setTranslation
- Specified by:
setTranslation
in interfaceSandboxOptions.SandboxOption
-
getTranslatedName
public java.lang.String getTranslatedName()- Specified by:
getTranslatedName
in interfaceSandboxOptions.SandboxOption
-
getTooltip
public java.lang.String getTooltip()- Specified by:
getTooltip
in interfaceSandboxOptions.SandboxOption
-
fromTable
- Specified by:
fromTable
in interfaceSandboxOptions.SandboxOption
-
toTable
- Specified by:
toTable
in interfaceSandboxOptions.SandboxOption
-
setValueTranslation
-
getValueTranslation
public java.lang.String getValueTranslation() -
getValueTranslationByIndex
public java.lang.String getValueTranslationByIndex(int int1)
-