All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sgi.sysadm.ui.taskData.TaskData

java.lang.Object
   |
   +----com.sgi.sysadm.util.AttrBundle
           |
           +----com.sgi.sysadm.ui.taskData.TaskData

public class TaskData
extends AttrBundle
TaskData maintains key/value pairs representing the input to a Task. A Task accesses the data input by the user via TaskData rather than through the Task Components directly in order to separate the user interface of a task from the operation it represents. This facilitates providing multiple user interfaces for the same task.


Constructor Index

 o TaskData()
TaskData constructor for clients who don't care about type and selector.
 o TaskData(String, String)
Construct TaskData with type and selector.

Method Index

 o addTaskDataBinder(String, TaskDataBinder)
Add a TaskDataBinder that gets notified when a particular Attribute changes.
 o removeTaskDataBinder(TaskDataBinder)
Remove a TaskDataBinder.

Constructors

 o TaskData
 public TaskData(String type,
                 String selector)
Construct TaskData with type and selector.

Parameters:
type - the type of this TaskData.
selector - the selector of this TaskData.
 o TaskData
 public TaskData()
TaskData constructor for clients who don't care about type and selector.

Methods

 o addTaskDataBinder
 public void addTaskDataBinder(String name,
                               TaskDataBinder binder)
Add a TaskDataBinder that gets notified when a particular Attribute changes.

Parameters:
name - Name of the Attribute listener cares about.
listener - Gets notified when Attribute changes.
 o removeTaskDataBinder
 public void removeTaskDataBinder(TaskDataBinder binder)
Remove a TaskDataBinder.

Parameters:
binder - The binder to remove.

All Packages  Class Hierarchy  This Package  Previous  Next  Index