Class BusyAlert
java.lang.Object
javax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.Alert
BusyAlert
public class BusyAlert
- extends javax.microedition.lcdui.Alert
BusyAlert is used to notify users of the process of an ongoing task
- Since:
- 1.0
- Author:
- Magnus Egeberg
Fields inherited from class javax.microedition.lcdui.Alert |
DISMISS_COMMAND, FOREVER |
Method Summary |
void |
dismiss()
Dismisses the alert |
void |
doAlert(java.lang.String text)
|
void |
setText(java.lang.String text)
Changes the alert text |
void |
showAlert(javax.microedition.lcdui.Alert a)
Makes the alert visible on the deveice 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, sizeChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gauge
private javax.microedition.lcdui.Gauge gauge
ts
private TicketingSystemMIDlet ts
BusyAlert
public BusyAlert(java.lang.String title,
TicketingSystemMIDlet ts)
- Sets the title of the alert
- Parameters:
title
- The alert titlets
- The MIDlet
doAlert
public void doAlert(java.lang.String text)
dismiss
public void dismiss()
- Dismisses the alert
setText
public void setText(java.lang.String text)
- Changes the alert text
- Parameters:
text
- The new alert text
showAlert
public void showAlert(javax.microedition.lcdui.Alert a)
- Makes the alert visible on the deveice screen
- Parameters:
a
- The alert to make visible