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.
-
TaskShelfController(HostContext, TaskLoader[])
- The constructor
-
destroy()
- Releases the category that this object is using.
-
getTaskShelfPanel()
- Returns the TaskShelfPanel that this controller is controlling
-
setCategory(Category)
- Sets the category that determines the tasks shown in the
TaskShelf
-
setItem(Category, String)
-
Sets the item whose state will control the tasks shown in
the TaskShelf
-
setTaskShelfPanel(TaskShelfPanel)
- Sets the TaskShelfPanel to control
TaskShelfController
public TaskShelfController(HostContext hc,
TaskLoader primary[])
- The constructor
- Parameters:
- hc - The HostContext
setTaskShelfPanel
public void setTaskShelfPanel(TaskShelfPanel tsp)
- Sets the TaskShelfPanel to control
- Parameters:
- taskShelfPanel - The TaskShelfPanel that this controller will
control.
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.
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.
destroy
public void destroy()
- Releases the category that this object is using.
getTaskShelfPanel
public TaskShelfPanel getTaskShelfPanel()
- Returns the TaskShelfPanel that this controller is controlling
- Returns:
- the TaskShelfPanel
All Packages Class Hierarchy This Package Previous Next Index