public class LanguageSetting extends SchemaSetting
Setting.DataTypeowner| Constructor and Description |
|---|
LanguageSetting(java.lang.String nameToShow,
java.lang.String tooltip) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(java.lang.Object input)
Applies the given input to this setting.
|
java.lang.Object |
getCurrentValue()
Gets the initial, current value of this setting.
|
Setting.DataType |
getDataType()
The data type which this setting represents.
|
java.lang.String[] |
getSelection()
Gets the selection of strings that this setting may take.
|
getId, getName, getTooltip, requiresRestart, validatepublic LanguageSetting(java.lang.String nameToShow,
java.lang.String tooltip)
public Setting.DataType getDataType()
SettinggetDataType in interface SettinggetDataType in class SchemaSettingpublic java.lang.String[] getSelection()
SettingSetting.getDataType() returns Setting.DataType.SELECTION.
The default implementation therefore returns an empty array.Setting.DataType.SELECTION.public java.lang.Object getCurrentValue()
SettinggetCurrentValue in interface SettinggetCurrentValue in class SchemaSettingpublic void apply(java.lang.Object input)
Settingapply in interface Settingapply in class SchemaSettinginput - The input. It is either the current value of the setting, or validated successfully.