|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.freecol.client.gui.option.OptionUI<T>
net.sf.freecol.client.gui.option.SliderOptionUI<RangeOption>
net.sf.freecol.client.gui.option.RangeOptionUI
public final class RangeOptionUI
This class provides visualization for an RangeOption. In order to enable
values to be both seen and changed.
| Field Summary |
|---|
| Fields inherited from class net.sf.freecol.client.gui.option.OptionUI |
|---|
gui |
| Constructor Summary | |
|---|---|
RangeOptionUI(GUI gui,
RangeOption option,
boolean editable)
Creates a new RangeOptionUI for the given
RangeOption. |
|
| Method Summary | |
|---|---|
void |
reset()
Reset the value of the UI's component from the Option. |
void |
updateOption()
Update the value of the Option from the UI's component. |
| Methods inherited from class net.sf.freecol.client.gui.option.SliderOptionUI |
|---|
getComponent, getLabel |
| Methods inherited from class net.sf.freecol.client.gui.option.OptionUI |
|---|
getListCellRenderer, getOption, getOptionUI, initialize, isEditable, setEditable, setLabel, setOption |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RangeOptionUI(GUI gui,
RangeOption option,
boolean editable)
RangeOptionUI for the given
RangeOption.
option - The RangeOption to make a user interface foreditable - boolean whether user can modify the setting| Method Detail |
|---|
public void updateOption()
updateOption in interface OptionUpdaterupdateOption in class SliderOptionUI<RangeOption>public void reset()
reset in interface OptionUpdaterreset in class SliderOptionUI<RangeOption>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||