|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.emarson.lemonade.bluelemon.midp1.Gauge
public class Gauge
This class delivers the functionality of the MIDP1
Gauge Java class to the
Bluelemon environment.
Use GaugeFactory to instantiate this class.
| Method Summary | |
|---|---|
String |
getLabel()
Gets the label of this Gauge object. |
Number |
getMaxValue()
Gets the maximum value of this Gauge object. |
Number |
getValue()
Gets the current value of this Gauge object. |
void |
increment()
Increments the current value of this Gauge object. |
Boolean |
isInteractive()
Tells whether the user is allowed to change the value of the Gauge. |
void |
setLabel(String label)
Sets the label of the Gauge. |
void |
setMaxValue(Number value)
Sets the maximum value of this Gauge object. |
void |
setValue(Number value)
Sets the value of this Gauge object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getLabel()
<blue:call object="gauge" method="getLabel"
toVariable="label"/>
public Number getMaxValue()
<blue:call object="gauge" method="getMaxValue"
toVariable="maxValue"/>
public Number getValue()
<blue:call object="gauge" method="getValue"
toVariable="value"/>
public void increment()
<blue:call object="gauge" method="increment"/>
public Boolean isInteractive()
<blue:call object="gauge" method="isInteractive"
toVariable="gaugeIsInteractive"/>
public void setLabel(String label)
the - label String
<blue:call object="gauge" method="setLabel">
<blue:argument type="String" value="label"/>
</blue:call>
public void setMaxValue(Number value)
value - the new maximum value
<blue:call object="gauge" method="setMaxValue">
<blue:argument type="byte" value="18"/>
</blue:call>
public void setValue(Number value)
value - the new value
<blue:call object="gauge" method="setValue">
<blue:argument type="byte" value="5"/>
</blue:call>
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||