1 2 20 21 package javax.microedition.lcdui; 22 23 24 public class AlertType 25 { 26 27 public static final AlertType INFO = new AlertType(); 28 29 public static final AlertType WARNING = new AlertType(); 30 31 public static final AlertType ERROR = new AlertType(); 32 33 public static final AlertType ALARM = new AlertType(); 34 35 public static final AlertType CONFIRMATION = new AlertType(); 36 37 38 protected AlertType() 39 { 40 } 41 42 43 public boolean playSound(Display display) 44 { 45 return true; 47 } 48 49 } 50 | Popular Tags |