FileDocCategorySizeDatePackage
AlertLF.javaAPI DocphoneME MR2 API (J2ME)3025Wed May 02 18:00:22 BST 2007javax.microedition.lcdui

AlertLF

public interface AlertLF implements DisplayableLF
Look and Feel interface used by Alert.

See Naming Conventions for information about method naming conventions.

Fields Summary
Constructors Summary
Methods Summary
public intlGetDefaultTimeout()
Gets default timeout for the alert associated with this view

return
the default timeout

public CommandlGetDismissCommand()
Get the command that Alert.DISMISS_COMMAND is mapped to.

return
DISMISS_COMMAND's visible representation command

public booleanlIsModal()
Determines if alert associated with this view is modal.

return
true if this AlertLF should be displayed as modal

public voidlSetImage(Image oldImg, Image newImg)
Notifies look&feel object of an image change.

param
oldImg - the old image set in the corresponding Alert.
param
newImg - the new image set in the corresponding Alert.

public voidlSetIndicator(Gauge oldIndicator, Gauge newIndicator)
Notifies look&feel object of an indicator change.

param
oldIndicator - the old indicator set in the corresponding Alert
param
newIndicator - the new indicator set in the corresponding Alert

public voidlSetString(java.lang.String oldStr, java.lang.String newStr)
Notifies look&feel object of a string change.

param
oldStr - the old string set in the corresponding Alert.
param
newStr - the new string set in the corresponding Alert.

public voidlSetTimeout(int timeout)
Notifies look&feel object of a timeout change.

param
timeout - the new timeout set in the corresponding Alert.

public voidlSetType(AlertType type)
Notifies look&feel object of a Alert type change.

param
type - the new AlertType set in the corresponding Alert.