com.ibm.dse.desktop
Interface TaskButton

All Known Implementing Classes:
ExternalTaskButton, DSETaskButton

public interface TaskButton
extends CoordinatedEventListener

The TaskButton interface provides a whole of methods to activate /close and opens tasks.

@copyright(c) Copyright IBM Corporation 2000.


Method Summary
 void activate()
          this method activates the navigation Area associated to this Task and gets the focus.
 void closeTask()
          this method closes the task class and close the navigation Area and all the views opened at the area.
 SpInternalFrame getInternalFrame()
          Gets the internal Frame associated to the Task.
 void openTask(java.lang.String viewId, java.lang.String launchable, java.lang.String type, int task, java.lang.String parameters, int width, int height, int x, int y)
          This method open a Task and associates a Navigation Cotroller to the task.
 
Methods inherited from interface com.ibm.dse.gui.CoordinatedEventListener
handleDSECoordinationEvent
 

Method Detail

activate

public void activate()
this method activates the navigation Area associated to this Task and gets the focus.

closeTask

public void closeTask()
this method closes the task class and close the navigation Area and all the views opened at the area.

getInternalFrame

public SpInternalFrame getInternalFrame()
Gets the internal Frame associated to the Task.
Returns:
com.ibm.dse.gui.SpInternalFrame

openTask

public void openTask(java.lang.String viewId,
                     java.lang.String launchable,
                     java.lang.String type,
                     int task,
                     java.lang.String parameters,
                     int width,
                     int height,
                     int x,
                     int y)
              throws java.lang.Exception
This method open a Task and associates a Navigation Cotroller to the task. Depending on the kind of task,the task is initialized. A frame is associated to the task and the task is launched.
Parameters:
viewId - String
launchable - String
execOp - Boolean
type - String
task - int
parameters - String
width - int
height - int
x - int
y - int