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. |
edu.cmu.hcii.calo.view.resources.ResourceListModel.ResourceListModel | ( | Task | value | ) |
Creates a new ResourceListModel for the resources of the given task.
value | the task whose resources we're showing |
Object edu.cmu.hcii.calo.view.resources.ResourceListModel.getElementAt | ( | int | i | ) |
Gets the resource at the given index in the list.
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.
final long edu.cmu.hcii.calo.view.resources.ResourceListModel.serialVersionUID = 1L [static, private] |
Prevent serialization collisions.
The task whose resources this list represents.