gauge
Class NonInteractiveGaugeRunnable

java.lang.Object
  extended by javax.microedition.lcdui.Item
      extended by javax.microedition.lcdui.Gauge
          extended by gauge.NonInteractiveGaugeRunnable
All Implemented Interfaces:
java.lang.Runnable

public class NonInteractiveGaugeRunnable
extends javax.microedition.lcdui.Gauge
implements java.lang.Runnable

This class implements a non-interactive gauge control that moves automatically, between the min and max values.


Field Summary
 
Fields inherited from class javax.microedition.lcdui.Gauge
CONTINUOUS_IDLE, CONTINUOUS_RUNNING, INCREMENTAL_IDLE, INCREMENTAL_UPDATING, INDEFINITE
 
Fields inherited from class javax.microedition.lcdui.Item
BUTTON, HYPERLINK, LAYOUT_2, LAYOUT_BOTTOM, LAYOUT_CENTER, LAYOUT_DEFAULT, LAYOUT_EXPAND, LAYOUT_LEFT, LAYOUT_NEWLINE_AFTER, LAYOUT_NEWLINE_BEFORE, LAYOUT_RIGHT, LAYOUT_SHRINK, LAYOUT_TOP, LAYOUT_VCENTER, LAYOUT_VEXPAND, LAYOUT_VSHRINK, PLAIN
 
Constructor Summary
NonInteractiveGaugeRunnable(java.lang.String label, int maxValue, int initialValue)
          The constructor initializes the gauge.
 
Method Summary
 void run()
          This method moves the gauge left and right.
(package private)  void setDone()
           
 
Methods inherited from class javax.microedition.lcdui.Gauge
addCommand, getMaxValue, getValue, isInteractive, setDefaultCommand, setItemCommandListener, setLabel, setLayout, setMaxValue, setPreferredSize, setValue
 
Methods inherited from class javax.microedition.lcdui.Item
getLabel, getLayout, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, notifyStateChanged, removeCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonInteractiveGaugeRunnable

public NonInteractiveGaugeRunnable(java.lang.String label,
                                   int maxValue,
                                   int initialValue)
The constructor initializes the gauge.

Method Detail

run

public void run()
This method moves the gauge left and right.

Specified by:
run in interface java.lang.Runnable

setDone

void setDone()