|
SOA © 2004 SoS Group All Rights Reserved |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsos.koa.Task
sos.koa.ExitAdapter
Class to close this application. This closes the application for example when the window is closed.
| Class Specifications |
| Specifications inherited from class Task |
| invariant 0 <= subTaskCount&&subTaskCount <= maxSubTasks; |
| Nested Class Summary |
| Nested classes inherited from class sos.koa.Task |
Task.ActionThread, Task.MonitoredThread |
| Field Summary |
| Fields inherited from class sos.koa.Task |
maxSubTasks, monitor, stillWorking, subTaskCount, success |
| Constructor Summary | |
ExitAdapter()
Constructs this adapter. |
|
| Method Summary | |
void |
doAction()
Clears the temporary XML files and exits. |
(package private) void |
exit(int status)
Exits the application with status code status. |
(package private) java.lang.String |
getFailureMessage()
|
(package private) java.lang.String |
getSuccessMessage()
|
(package private) int |
getSuccessState()
|
(package private) java.lang.String |
getTitle()
|
(package private) java.lang.String |
getWarningMessage()
What to print in warning dialog used to ask user if he/she is sure to perform this task. |
(package private) boolean |
isDangerousTask()
Indicates whether the user should be warned that we're about to start this task. |
(package private) boolean |
isPreStateAllowed(int state)
|
void |
windowActivated(java.awt.event.WindowEvent e)
|
void |
windowClosed(java.awt.event.WindowEvent e)
|
void |
windowClosing(java.awt.event.WindowEvent e)
Gets called when the user closes this application's window. |
void |
windowDeactivated(java.awt.event.WindowEvent e)
This method is here since we implement WindowListener. |
void |
windowDeiconified(java.awt.event.WindowEvent e)
This method is here since we implement WindowListener. |
void |
windowIconified(java.awt.event.WindowEvent e)
This method is here since we implement WindowListener. |
void |
windowOpened(java.awt.event.WindowEvent e)
This method is here since we implement WindowListener. |
| Methods inherited from class sos.koa.Task |
actionPerformed, clear, getAdditionalInfo, getInfo, isAdditionalInfoAvailable, isCancelableTask, isModalTask, isProgressMonitoredTask, logCanceled, logCompleted, logFailed, logOpenedFile, logStarted, popupAdditionalInfo, popupAdditionalInfo, popupFailure, popupGetFile, popupGetPassword, popupNext, popupNextOrBack, popupSuccess, popupWarning, setMaxSubTasks, setSubTaskCount, stopAction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExitAdapter()
| Method Detail |
java.lang.String getTitle()
Task
java.lang.String getSuccessMessage()
Task
java.lang.String getFailureMessage()
Task
java.lang.String getWarningMessage()
Task
getWarningMessage in class Taskboolean isPreStateAllowed(int state)
int getSuccessState()
Task
public void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenere - Event indicating the window is closing.public void windowDeactivated(java.awt.event.WindowEvent e)
WindowListener.
windowDeactivated in interface java.awt.event.WindowListenere - a window event.public void windowDeiconified(java.awt.event.WindowEvent e)
WindowListener.
windowDeiconified in interface java.awt.event.WindowListenere - a window event.public void windowIconified(java.awt.event.WindowEvent e)
WindowListener.
windowIconified in interface java.awt.event.WindowListenere - a window event.public void windowOpened(java.awt.event.WindowEvent e)
WindowListener.
windowOpened in interface java.awt.event.WindowListenere - a window event.boolean isDangerousTask()
Task
isDangerousTask in class Taskpublic void doAction()
void exit(int status)
status.
status - the status code.
|
SOA © 2004 SoS Group All Rights Reserved |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||