public class ChoiceSetting<T> extends Object implements SettingContainer<T>
| Modifier | Constructor and Description |
|---|---|
protected |
ChoiceSetting(T defaultValue,
Class<T> valueType,
Set<T> choices,
String helpMessage) |
| Modifier and Type | Method and Description |
|---|---|
Set<T> |
getChoices() |
Setting<T> |
getSetting() |
void |
setValue(T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValue, setFromStringValuepublic void setValue(T value)
setValue in interface SettingContainer<T>public Setting<T> getSetting()
getSetting in interface SettingContainer<T>Copyright © 2017. All rights reserved.