|
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.
| 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()
What to print in failure dialog. |
(package private) java.lang.String |
getSuccessMessage()
What to print in success dialog. |
(package private) int |
getSuccessState()
The application state after successful termination of this task. |
(package private) java.lang.String |
getTitle()
The title of this task. |
(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
getTitle in class Taskjava.lang.String getSuccessMessage()
Task
getSuccessMessage in class Taskjava.lang.String getFailureMessage()
Task
getFailureMessage in class Taskjava.lang.String getWarningMessage()
Task
getWarningMessage in class Taskboolean isPreStateAllowed(int state)
isPreStateAllowed in class Taskint getSuccessState()
Task
getSuccessState in class Taskpublic 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 Taskfalse.public void doAction()
doAction in class Taskvoid 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 | |||||||||