gauge
Class IncrementalIndefiniteGaugeRunnable

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

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

This class implements a non-interactive gauge control that moves automatically with indefinite range.


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
IncrementalIndefiniteGaugeRunnable(java.lang.String label)
          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

IncrementalIndefiniteGaugeRunnable

public IncrementalIndefiniteGaugeRunnable(java.lang.String label)
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()