at.spardat.xma.appshell
Class SimpleTask

java.lang.Object
  extended byat.spardat.xma.appshell.Task
      extended byat.spardat.xma.appshell.SimpleTask
All Implemented Interfaces:
ITask, java.lang.Runnable

public class SimpleTask
extends Task

Implementation of a simple task which calls a single page or component.

Since:
1.4.0

Field Summary
 
Fields inherited from class at.spardat.xma.appshell.Task
app, menu
 
Constructor Summary
SimpleTask(at.spardat.xma.boot.component.IXMAControl client, boolean blocking)
          Creates the simple task.
 
Method Summary
 void run()
          This method does the work.
 
Methods inherited from class at.spardat.xma.appshell.Task
call, callBlocking, callNonBlocking, closeRequested, closeRequested, contains, getComponent, getContextString, getMenu, getPage, getParentTask, getSubTask, isAutoDispose, isCleanSubmenu, isRunfinished, pageClosed, setAppShell, setAutoDispose, setCleanSubmenu, setMenu, setParentTask, setRunfinished, setSubTask, showTopPage, start, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTask

public SimpleTask(at.spardat.xma.boot.component.IXMAControl client,
                  boolean blocking)
Creates the simple task.

Parameters:
client - the page or component to use.
blocking - if true the run()-method blocks until the page or component is finished.
Method Detail

run

public void run()
This method does the work. It calls the page or component. Do not call this method directly, it may only be called by its parent task. Use Task.start(IAppShell) or Task.start(ITask) to run this task.