scheduler.view
Class ScheduleItemComparator

java.lang.Object
  extended by scheduler.view.ScheduleItemComparator
All Implemented Interfaces:
java.util.Comparator<ScheduleItem>

 class ScheduleItemComparator
extends java.lang.Object
implements java.util.Comparator<ScheduleItem>

The Calendar View model class. This class filters the data from ViewSettings and passes it to its companion view class CalendarViewUI.

Author:
Sasiluk Ruangrongsorakai

Constructor Summary
ScheduleItemComparator()
           
 
Method Summary
 int compare(ScheduleItem obj1, ScheduleItem obj2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ScheduleItemComparator

ScheduleItemComparator()
Method Detail

compare

public int compare(ScheduleItem obj1,
                   ScheduleItem obj2)
Specified by:
compare in interface java.util.Comparator<ScheduleItem>