apps.projectmanagement.component.ganttchart
Class TaskCollection

java.lang.Object
  extended by apps.projectmanagement.component.ganttchart.TaskCollection

public class TaskCollection
extends java.lang.Object

The Class TaskCollection.


Constructor Summary
TaskCollection()
           
 
Method Summary
 void addTaskRow(TaskRow taskRow)
          Adds the task row.
 java.util.List<TaskRow> getTaskRows()
          Gets the task rows.
 void removeTaskRow(TaskRow taskRow)
          Removes the task row.
 void swapTaskRow(int row1, int row2)
          Swap task row.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskCollection

public TaskCollection()
Method Detail

addTaskRow

public void addTaskRow(TaskRow taskRow)
Adds the task row.

Parameters:
taskRow - the task row

getTaskRows

public java.util.List<TaskRow> getTaskRows()
Gets the task rows.

Returns:
the task rows

removeTaskRow

public void removeTaskRow(TaskRow taskRow)
Removes the task row.

Parameters:
taskRow - the task row

swapTaskRow

public void swapTaskRow(int row1,
                        int row2)
Swap task row.

Parameters:
row1 - the row1
row2 - the row2