Package zombie
Class SandboxOptions.IntegerSandboxOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.IntegerConfigOption
zombie.SandboxOptions.IntegerSandboxOption
- All Implemented Interfaces:
SandboxOptions.SandboxOption
- Enclosing class:
- SandboxOptions
public static class SandboxOptions.IntegerSandboxOption extends IntegerConfigOption 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
Fields inherited from class zombie.config.IntegerConfigOption
defaultValue, max, min, value
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
Constructors Constructor Description IntegerSandboxOption(SandboxOptions sandboxOptions, java.lang.String string, int int1, int int2, int int3)
-
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()
SandboxOptions.SandboxOption
setTranslation(java.lang.String string)
void
toTable(KahluaTable kahluaTable)
Methods inherited from class zombie.config.IntegerConfigOption
getDefaultValue, getMax, getMin, getType, 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
-
-
Constructor Details
-
IntegerSandboxOption
public IntegerSandboxOption(SandboxOptions sandboxOptions, java.lang.String string, int int1, int int2, int int3)
-
-
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
-