edu.cmu.hcii.calo.view.resources.ResourceListModel Class Reference

Collaboration diagram for edu.cmu.hcii.calo.view.resources.ResourceListModel:

Collaboration graph
[legend]
List of all members.

Detailed Description

Defines the model for the resource list.

Author:
Brian Ellis


Public Member Functions

 ResourceListModel (Task value)
 Creates a new ResourceListModel for the resources of the given task.
Object getElementAt (int i)
 Gets the resource at the given index in the list.
int getSize ()
 Returns the size of this list.
void updateList ()
 Tells the list to update its contents because they might have changed.

Private Attributes

Task task
 The task whose resources this list represents.

Static Private Attributes

static final long serialVersionUID = 1L
 Prevent serialization collisions.


Constructor & Destructor Documentation

edu.cmu.hcii.calo.view.resources.ResourceListModel.ResourceListModel ( Task  value  ) 

Creates a new ResourceListModel for the resources of the given task.

Parameters:
value the task whose resources we're showing


Member Function Documentation

Object edu.cmu.hcii.calo.view.resources.ResourceListModel.getElementAt ( int  i  ) 

Gets the resource at the given index in the list.

Parameters:
i the index

int edu.cmu.hcii.calo.view.resources.ResourceListModel.getSize (  ) 

Returns the size of this list.

void edu.cmu.hcii.calo.view.resources.ResourceListModel.updateList (  ) 

Tells the list to update its contents because they might have changed.


Member Data Documentation

final long edu.cmu.hcii.calo.view.resources.ResourceListModel.serialVersionUID = 1L [static, private]

Prevent serialization collisions.

Task edu.cmu.hcii.calo.view.resources.ResourceListModel.task [private]

The task whose resources this list represents.


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