|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--Slider
| Constructor Summary | |
Slider(String name,
double min,
double max,
double startPoint)
|
|
| Method Summary | |
void |
adjustValue(double deltaX)
This method changes the value of the slider by the integer value that is passed in. |
double |
getFraction()
This method returns the percentage of the slider's potential positive or negative value. |
double |
getValue()
This method returns the current value of the slider. |
void |
setValue(double newValue)
This method sets the value of the slider to a specified value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Slider(String name,
double min,
double max,
double startPoint)
| Method Detail |
public double getValue()
public double getFraction()
public void adjustValue(double deltaX)
public void setValue(double newValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||