|
DJAVA | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectau.gov.aao.drama.DramaTask.ErsMessage
public static class DramaTask.ErsMessage
A Class used to represent a DRAMA ERS message report.
A DRAMA ERS message report contains not just the text of the message but indicates of formating to be applied to the message and the DRAMA status associated with the original report.
| Field Summary | |
|---|---|
static int |
ALARM
Indicates the message is very important and should probably be acknowledged by the user. |
static int |
BELL
Indicates the terminal bell should be rung when the message is displayed. |
static int |
HIGHLIGHT
Indicates the message should be Highlite when displayed. |
| Constructor Summary | |
|---|---|
DramaTask.ErsMessage(String t,
int f,
int s)
Construct an ERS message object. |
|
| Method Summary | |
|---|---|
boolean |
Alarm()
Indicate if the ALARM flag of the message has been set. |
boolean |
Highlight()
Indicate if the HIGHLIGH flag of the message has been set. |
boolean |
RingBell()
Indicate if the BELL flag of the message has been set. |
DramaStatus |
Status()
Return the DRAMA status of the ERS message. |
String |
toString()
Return the text of the ERS message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int HIGHLIGHT
public static final int BELL
public static final int ALARM
| Constructor Detail |
|---|
public DramaTask.ErsMessage(String t,
int f,
int s)
t - The text component of the messagef - The flags assocaited with the message, a logical or of
HIGLIGHT, BELL or ALARM, as required.s - The integer version of the DRAMA status assocaited
with this error report.| Method Detail |
|---|
public String toString()
toString in class Objectpublic DramaStatus Status()
public boolean RingBell()
public boolean Alarm()
public boolean Highlight()
|
DJAVA | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aaoepp.aao.gov.au.