|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JoggleModel
A model representing a bounded or unbounded double value sequence. In
relation to a Joggle this model keeps a value depending on the
current rotationAngle of the joggle. To convert a model's value to a
rotationAngle, a joggle calls getTransmissionRatio().
| Method Summary | |
|---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l)
DOCUMENT ME! |
double |
getMaximum()
Return the upper limit of the represented value sequence. |
double |
getMinimum()
Return the lower limit of the represented value sequence. |
double |
getTransmissionRatio()
Return the ratio converting the rotationAngle of a Joggle to the value in this Model. |
double |
getValue()
Returns the current value. |
void |
removeChangeListener(javax.swing.event.ChangeListener l)
DOCUMENT ME! |
void |
setMaximum(double newMax)
Set the upper limit of the represented value sequence. |
void |
setMinimum(double newMin)
Set the lower limit of the represented value sequence. |
void |
setValue(double value)
Set a new value contained in the value sequence. |
| Method Detail |
|---|
void addChangeListener(javax.swing.event.ChangeListener l)
l - DOCUMENT ME!void removeChangeListener(javax.swing.event.ChangeListener l)
l - DOCUMENT ME!void setMaximum(double newMax)
newMax - a new upper limit.double getMaximum()
void setMinimum(double newMin)
newMin - a new lower limit.double getMinimum()
void setValue(double value)
value - the value to be set.double getValue()
getTransmissionRatio(),
Joggle.getRotationAngle()double getTransmissionRatio()
rotationAngle of the Joggle multiplied with
the transmission ratio.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||