All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sgi.sysadm.ui.TaskShelfController

java.lang.Object
   |
   +----com.sgi.sysadm.ui.TaskShelfController

public class TaskShelfController
extends Object
This class will drive a TaskShelfTable by giving the task shelf a list of tasks appropriate to a given item in a given state.


Constructor Index

 o TaskShelfController(HostContext, TaskLoader[])
The constructor

Method Index

 o destroy()
Releases the category that this object is using.
 o getTaskShelfPanel()
Returns the TaskShelfPanel that this controller is controlling
 o setCategory(Category)
Sets the category that determines the tasks shown in the TaskShelf
 o setItem(Category, String)
Sets the item whose state will control the tasks shown in the TaskShelf
 o setTaskShelfPanel(TaskShelfPanel)
Sets the TaskShelfPanel to control

Constructors

 o TaskShelfController
 public TaskShelfController(HostContext hc,
                            TaskLoader primary[])
The constructor

Parameters:
hc - The HostContext

Methods

 o setTaskShelfPanel
 public void setTaskShelfPanel(TaskShelfPanel tsp)
Sets the TaskShelfPanel to control

Parameters:
taskShelfPanel - The TaskShelfPanel that this controller will control.
 o setItem
 public void setItem(Category category,
                     String itemSelector)
Sets the item whose state will control the tasks shown in the TaskShelf

Parameters:
category - The category that contains the item whose state determines the tasks shown.
itemSelector - The item to use to determine the tasks shown.
 o setCategory
 public void setCategory(Category category)
Sets the category that determines the tasks shown in the TaskShelf

Parameters:
category - The category that determines the tasks shown.
 o destroy
 public void destroy()
Releases the category that this object is using.

 o getTaskShelfPanel
 public TaskShelfPanel getTaskShelfPanel()
Returns the TaskShelfPanel that this controller is controlling

Returns:
the TaskShelfPanel

All Packages  Class Hierarchy  This Package  Previous  Next  Index