edu.cmu.hcii.calo.controller.TaskViewerController Class Reference

Inherits edu.cmu.hcii.calo.messagePassing.MessageTarget.

Inheritance diagram for edu.cmu.hcii.calo.controller.TaskViewerController:

Inheritance graph
[legend]
Collaboration diagram for edu.cmu.hcii.calo.controller.TaskViewerController:

Collaboration graph
[legend]
List of all members.

Detailed Description

The controller that attaches the task manager to the task viewer window.

Unlike other controllers, this one does not implement PropertyChangeListener because the task viewer is only a mockup and doesn't post interesting property change events.

Author:
Brian Ellis


Public Member Functions

 TaskViewerController (TaskViewerTaskList list)
 Constructs a TaskViewerController that updates the given task list.
void onMessageReceived (Observable sender, final Message msg)
 
See also:
edu.cmu.hcii.calo.messagePassing.MessageTarget.onMessageReceived(java.util.Observable, edu.cmu.hcii.calo.messagePassing.Message)


Private Member Functions

void performUpdate (Message msg)
 Updates the list from the TaskManager.

Private Attributes

TaskViewerTaskList list
 The task list within the task viewer window, which is actually what we need to update.


Constructor & Destructor Documentation

edu.cmu.hcii.calo.controller.TaskViewerController.TaskViewerController ( TaskViewerTaskList  list  ) 

Constructs a TaskViewerController that updates the given task list.

Parameters:
list the task list to update


Member Function Documentation

void edu.cmu.hcii.calo.controller.TaskViewerController.onMessageReceived ( Observable  sender,
final Message  msg 
)

See also:
edu.cmu.hcii.calo.messagePassing.MessageTarget.onMessageReceived(java.util.Observable, edu.cmu.hcii.calo.messagePassing.Message)

void edu.cmu.hcii.calo.controller.TaskViewerController.performUpdate ( Message  msg  )  [private]

Updates the list from the TaskManager.

Parameters:
msg the message received from the manager


Member Data Documentation

TaskViewerTaskList edu.cmu.hcii.calo.controller.TaskViewerController.list [private]

The task list within the task viewer window, which is actually what we need to update.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:13 2007 for CALO by  doxygen 1.5.2