javax.microedition.lcdui
Class Gauge
java.lang.Object
javax.microedition.lcdui.Item
javax.microedition.lcdui.Gauge
public class Gauge
- extends Item
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 |
Gauge(String label,
boolean interactive,
int maxValue,
int initialValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDEFINITE
public static final int INDEFINITE
- See Also:
- Constant Field Values
CONTINUOUS_IDLE
public static final int CONTINUOUS_IDLE
- See Also:
- Constant Field Values
INCREMENTAL_IDLE
public static final int INCREMENTAL_IDLE
- See Also:
- Constant Field Values
CONTINUOUS_RUNNING
public static final int CONTINUOUS_RUNNING
- See Also:
- Constant Field Values
INCREMENTAL_UPDATING
public static final int INCREMENTAL_UPDATING
- See Also:
- Constant Field Values
Gauge
public Gauge(String label,
boolean interactive,
int maxValue,
int initialValue)
setLabel
public void setLabel(String label)
- Overrides:
setLabel
in class Item
setLayout
public void setLayout(int layout)
- Overrides:
setLayout
in class Item
addCommand
public void addCommand(Command cmd)
- Overrides:
addCommand
in class Item
setItemCommandListener
public void setItemCommandListener(ItemCommandListener l)
- Overrides:
setItemCommandListener
in class Item
setPreferredSize
public void setPreferredSize(int width,
int height)
- Overrides:
setPreferredSize
in class Item
setDefaultCommand
public void setDefaultCommand(Command cmd)
- Overrides:
setDefaultCommand
in class Item
setValue
public void setValue(int value)
getValue
public int getValue()
setMaxValue
public void setMaxValue(int maxValue)
getMaxValue
public int getMaxValue()
isInteractive
public boolean isInteractive()
Copyright © 2006-2007 Jayway AB. All Rights Reserved.