edu.cmu.hcii.calo.view.task.support.TaskState Class Reference

Collaboration diagram for edu.cmu.hcii.calo.view.task.support.TaskState:

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents a particular property within the state of a Task.

When TaskPaneView generates PropertyChangedEvents with a name of TaskViewPropertyNames.TASK_STATE_PROPERTY_NAME, the old and new values passed in the event will be TaskState objects representing what has changed in what task.

Author:
Brian Ellis


Public Types

enum  TaskStateProperty
 The property that we are concerned with. More...

Public Member Functions

 TaskState (Task task, TaskStateProperty property, Object value)
 Constructs a TaskState for the given task, noting that property has a value of value.
TaskStateProperty getProperty ()
 Gets the property for this TaskState.
Task getTask ()
 Gets the Task for this TaskState.
Object getValue ()
 The value for this TaskState.

Properties

Object value
 The value of that property.

Private Attributes

Task task
 The task to which this state pertains.


Member Enumeration Documentation

enum edu.cmu.hcii.calo.view.task.support.TaskState.TaskStateProperty

The property that we are concerned with.

Author:
Brian Ellis


Constructor & Destructor Documentation

edu.cmu.hcii.calo.view.task.support.TaskState.TaskState ( Task  task,
TaskStateProperty  property,
Object  value 
)

Constructs a TaskState for the given task, noting that property has a value of value.

Parameters:
task the task to which this state pertains
property the property that we are concerned with
value the value of that property


Member Function Documentation

TaskStateProperty edu.cmu.hcii.calo.view.task.support.TaskState.getProperty (  ) 

Gets the property for this TaskState.

Returns:
the property

Task edu.cmu.hcii.calo.view.task.support.TaskState.getTask (  ) 

Gets the Task for this TaskState.

Returns:
the Task

Object edu.cmu.hcii.calo.view.task.support.TaskState.getValue (  ) 

The value for this TaskState.

Returns:
the Task


Member Data Documentation

Task edu.cmu.hcii.calo.view.task.support.TaskState.task [private]

The task to which this state pertains.


Property Documentation

Object edu.cmu.hcii.calo.view.task.support.TaskState.value [private]

The value of that property.


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