|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.gui.SpinnerLogic
public class SpinnerLogic
Contains the logic for a spinner, allowing the hook-up of any buttons/label.
| Constructor Summary | |
|---|---|
SpinnerLogic(TextComponent label,
Button next,
Button prev,
SpinnerModel model)
Create the logic of a spinner with other components. |
|
| Method Summary | |
|---|---|
SpinnerModel |
getModel()
Get the current model. |
Object |
getValue()
Convenience to get the current value of this spinner. |
void |
setEnabled(boolean enabled)
Set whether the logic of the spinner should be enabled. |
void |
setModel(SpinnerModel newModel)
Set a new model. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpinnerLogic(TextComponent label,
Button next,
Button prev,
SpinnerModel model)
| Method Detail |
|---|
public void setModel(SpinnerModel newModel)
public SpinnerModel getModel()
public Object getValue()
public void setEnabled(boolean enabled)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||