javax.microedition.lcdui
Class Gauge
java.lang.Object
   javax.microedition.lcdui.Item
javax.microedition.lcdui.Item
       javax.microedition.lcdui.Gauge
javax.microedition.lcdui.Gauge
- public class Gauge 
- extends Item
- Author:
- Andre Nijholt
 
 
| Constructor Summary | 
| Gauge(String label,
      boolean interactive,
      int maxValue,
      int initialValue)
 | 
 
 
| Methods inherited from class javax.microedition.lcdui.Item | 
| addCommand, getLabel, getMinimumHeight, getMinimumWidth, getPaintRequest, getPreferredHeight, getPreferredWidth, hideNotify, isInteractive, keyReleased, notifyStateChanged, removeCommand, repaint, setItemCommandListener, setPreferredSize, showNotify | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Gauge
public Gauge(String label,
             boolean interactive,
             int maxValue,
             int initialValue)
getMaxValue
public int getMaxValue()
- 
 
setMaxValue
public void setMaxValue(int maxValue)
- 
 
getValue
public int getValue()
- 
 
setValue
public void setValue(int value)
- 
 
keyPressed
protected void keyPressed(int keyCode)
- 
- Overrides:
- keyPressedin class- Item
 
- 
 
paint
public void paint(Graphics g,
                  int x,
                  int y,
                  int w,
                  int h,
                  boolean selected)
- 
- Specified by:
- paintin class- Item
 
-