public class Alert extends Object
| Constructor and Description | 
|---|
| Alert(String sType,
     String sSrc,
     boolean fEnabled)constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| static Alert | createAlert(String sType,
           String sSrc,
           boolean fEnabled)create an alert based on type e.g. | 
| boolean | getEnabled()get details of type e.g. visual or sound | 
| String | getSrc()get details of alert e.g. | 
| String | getType()get details of type e.g. visual or sound | 
| void | setEnabled(boolean sEnabled)Is alert enabled or disabled. | 
| void | setSrc(String sSrc)set source of alert | 
| void | setType(String sType)set type of alert | 
| String | toString()get String contents of object | 
| static void | writeErr(String aStr)write a error messgae to console | 
| static void | writeLn()write a line to console | 
| static void | writeLn(boolean bStr)write boolean value to console | 
| static void | writeLn(int iStr)write numeric value to console | 
| static void | writeLn(String aStr)write a line to console | 
public static Alert createAlert(String sType, String sSrc, boolean fEnabled)
sType - type of alertsSrc - source of alertfEnabled - enabled or notpublic String getType()
public void setType(String sType)
sType - a typepublic String getSrc()
public void setSrc(String sSrc)
sSrc - source location of alertpublic boolean getEnabled()
public void setEnabled(boolean sEnabled)
sEnabled - true to set, otherwise falsepublic String toString()
public static void writeErr(String aStr)
aStr - line to be written to consolepublic static void writeLn(String aStr)
aStr - line to be written to consolepublic static void writeLn(boolean bStr)
bStr - boolean value to be written to consolepublic static void writeLn(int iStr)
iStr - numeric value to be written to consolepublic static void writeLn()