scheduler.view
Class CalColumn

java.lang.Object
  extended by scheduler.view.CalColumn

public class CalColumn
extends java.lang.Object

CalColumn represents a column in the calendar view. Each column represents a day in a week. CalColumn contains a list of scheduleItem that belongs to the specific day of the week, stored in CalCell object

Author:
Sasiluk Ruangrongsorakai

Field Summary
protected  java.util.ArrayList<CalCell> calCellList
          List of scheduleItem in the day
protected  DaysInWeek.Day day
          The day of the Column
 
Constructor Summary
CalColumn(DaysInWeek.Day day)
           
 
Method Summary
 void addCalCell(CalCell cb)
          Adding a CalCell box to the Column
 java.util.ArrayList<CalCell> getCalCellList()
          Return a list of CalCell for this column
 DaysInWeek.Day getColumnDay()
          Return the day of this column
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

day

protected DaysInWeek.Day day
The day of the Column


calCellList

protected java.util.ArrayList<CalCell> calCellList
List of scheduleItem in the day

Constructor Detail

CalColumn

CalColumn(DaysInWeek.Day day)
Method Detail

addCalCell

public void addCalCell(CalCell cb)
Adding a CalCell box to the Column

Parameters:
cb - - CalCell object containing a list of scheduleItem

getColumnDay

public DaysInWeek.Day getColumnDay()
Return the day of this column

Returns:
day of the column

getCalCellList

public java.util.ArrayList<CalCell> getCalCellList()
Return a list of CalCell for this column

Returns:
CalCell list