IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.desktop
Interface TaskButton

All Superinterfaces:
CoordinatedEventListener, java.util.EventListener
All Known Implementing Classes:
DSETaskButton, ExternalTaskButton

public interface TaskButton
extends CoordinatedEventListener

The TaskButton interface provides methods to activate (close and opens) tasks.

@copyright(c) Copyright IBM Corporation 2000.


Method Summary
 void activate()
          Activates the navigation Area associated with this Task and gets the focus.
 void closeTask()
          Closes the task class and the navigation Area and all the views opened at the area.
 SpInternalFrame getInternalFrame()
          Gets the internal Frame associated with 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)
          Opens a Task and associates a Navigation Controller with the task.
 
Methods inherited from interface com.ibm.dse.gui.CoordinatedEventListener
handleDSECoordinationEvent
 

Method Detail

activate

public void activate()
Activates the navigation Area associated with this Task and gets the focus.


closeTask

public void closeTask()
Closes the task class and the navigation Area and all the views opened at the area.


getInternalFrame

public SpInternalFrame getInternalFrame()
Gets the internal Frame associated with 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
Opens a Task and associates a Navigation Controller with the task. Depending on the kind of task, the task is initialized. A frame is associated with the task, and the task is launched.

Parameters:
viewId - String
launchable - String
type - String
task - int
parameters - String
width - int
height - int
x - int
y - int
Throws:
java.lang.Exception

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005