java.lang.Object
|
+--javax.microedition.lcdui.Displayable
|
+--javax.microedition.lcdui.Screen
|
+--javax.microedition.lcdui.Alert
- See Also:
- Source Code,
Displayable.setTicker
, Ticker
, Display.setCurrent(Displayable)
, Display.setCurrent(Alert, Displayable)
, setCommandListener(javax.microedition.lcdui.CommandListener)
, FOREVER
, DISMISS_COMMAND
, setIndicator(javax.microedition.lcdui.Gauge)
, Gauge
, AlertType.playSound()
public void addCommand(Command cmd)
- See Also:
- Displayable,
DISMISS_COMMAND
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Alert(String title)
- See Also:
Alert(String, String, Image, AlertType)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Alert(String title,
String alertText,
Image alertImage,
AlertType alertType)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
[1962]Using Alert class
By Anonymous on 2008/03/31 11:10:23 Rate
Command backCommand = new Command ( "Back", Command.BACK, 0 ) ;
Alert alert = new Alert ( "Error", "Alert demo", null, AlertType.ERROR ) ;
alert.addCommand ( backCommand ) ;
display.setCurrent ( alert, display.getCurrent ( ) ) ;
public static final Command DISMISS_COMMAND
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static final int FOREVER
- See Also:
setTimeout()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getDefaultTimeout()
- See Also:
FOREVER
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Image getImage()
- See Also:
setImage(javax.microedition.lcdui.Image)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Gauge getIndicator()
- See Also:
setIndicator(javax.microedition.lcdui.Gauge)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String getString()
- See Also:
setString(java.lang.String)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getTimeout()
- See Also:
setTimeout(int)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public AlertType getType()
- See Also:
setType(javax.microedition.lcdui.AlertType)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void removeCommand(Command cmd)
- See Also:
- Displayable,
DISMISS_COMMAND
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setCommandListener(CommandListener l)
- See Also:
- Displayable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setImage(Image img)
- See Also:
getImage()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setIndicator(Gauge indicator)
- See Also:
getIndicator()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setString(String str)
- See Also:
getString()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setTimeout(int time)
- See Also:
getTimeout()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void setType(AlertType type)
- See Also:
getType()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples