|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.Alert
org.openbandy.ui.ProgressAlert
public class ProgressAlert
The ProgressAlert class provides an alert that contains a gauge to indicate
the progress of a task that might run for possibly long time.
(c) Copyright Philipp Bolliger 2007, ALL RIGHTS RESERVED.
| Field Summary |
|---|
| Fields inherited from class javax.microedition.lcdui.Alert |
|---|
DISMISS_COMMAND, FOREVER |
| Constructor Summary | |
|---|---|
ProgressAlert(java.lang.String text,
javax.microedition.lcdui.AlertType type,
int maxValue)
Create a new ProgressAlert |
|
| Method Summary | |
|---|---|
void |
advance()
Advance the gauge indicator by one (until it has not already reached the maximum value). |
void |
dismiss()
Release the alert and make the previous screen current again. |
void |
show()
Make the progress alert the current screen, i.e., show it to the user. |
void |
show(javax.microedition.lcdui.Display display,
javax.microedition.lcdui.Displayable previousDisplayable)
Tells the BandyDisplayable to set itself as the current screen. |
| Methods inherited from class javax.microedition.lcdui.Alert |
|---|
addCommand, getDefaultTimeout, getImage, getIndicator, getString, getTimeout, getType, removeCommand, setCommandListener, setImage, setIndicator, setString, setTimeout, setType |
| Methods inherited from class javax.microedition.lcdui.Displayable |
|---|
getHeight, getTicker, getTitle, getWidth, isShown, setTicker, setTitle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressAlert(java.lang.String text,
javax.microedition.lcdui.AlertType type,
int maxValue)
text - Indicate what task is taking this much timetype - The type of the alert (info, error etc)maxValue - The maximum number of steps the current task will take to
complete| Method Detail |
|---|
public void show()
public void advance()
public void dismiss()
public void show(javax.microedition.lcdui.Display display,
javax.microedition.lcdui.Displayable previousDisplayable)
BandyDisplayable
show in interface BandyDisplayabledisplay - The MIDlets displaypreviousDisplayable - The displayable that is shown before this one
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||