|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.item.jt.system.Frontend
edu.ntnu.item.jt.GUI.GUIFrontend
public class GUIFrontend
Specialization of Frontend for use with GUI
Field Summary |
---|
Fields inherited from class edu.ntnu.item.jt.system.Frontend |
---|
debug, UI_GUI, UI_SHELL, verbose |
Method Summary | |
---|---|
void |
displayError(String message)
Display errors regarding the system. |
void |
displayInfo(String message)
Display information regarding the system. |
void |
displayWarning(String message)
Display warnings regarding the system. |
static GUIFrontend |
getInstance()
Getter for the GUIFrontend singleton. |
void |
propertyChange(PropertyChangeEvent evt)
Invoked when task's progress property changes. |
void |
sleep(int secs)
This method sleeps for a given amount of seconds, showing a progress dialog counting down. |
Methods inherited from class edu.ntnu.item.jt.system.Frontend |
---|
displayAnalysisToolsResult, displayScanResults, displayUpdateResults, main |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GUIFrontend getInstance()
public void displayInfo(String message)
displayInfo
in class Frontend
message
- the message to be displayed.public void displayWarning(String message)
displayWarning
in class Frontend
message
- the message to be displayed.public void displayError(String message)
displayError
in class Frontend
message
- the message to be displayed.public void sleep(int secs)
sleep
in class Frontend
secs
- The number of seconds to sleep in total.public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |