com.bradrydzewski.gwt.calendar.client.dayview
Class DayViewLayoutStrategy

java.lang.Object
  extended by com.bradrydzewski.gwt.calendar.client.dayview.DayViewLayoutStrategy

public class DayViewLayoutStrategy
extends Object

Responsible for arranging all Appointments, visually, on a screen in a manner similar to the Microsoft Outlook / Windows Vista calendar. See:

Note how overlapping appointments are displayed in the provided image

Since:
1.0
Version:
1.0 6/07/09
Author:
Brad Rydzewski

Constructor Summary
DayViewLayoutStrategy(HasSettings settings)
           
 
Method Summary
 ArrayList<AppointmentAdapter> doLayout(List<Appointment> appointments, int dayIndex, int dayCount)
           
 int doMultiDayLayout(ArrayList<Appointment> appointments, ArrayList<AppointmentAdapter> adapters, Date start, int days)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DayViewLayoutStrategy

public DayViewLayoutStrategy(HasSettings settings)
Method Detail

doLayout

public ArrayList<AppointmentAdapter> doLayout(List<Appointment> appointments,
                                              int dayIndex,
                                              int dayCount)

doMultiDayLayout

public int doMultiDayLayout(ArrayList<Appointment> appointments,
                            ArrayList<AppointmentAdapter> adapters,
                            Date start,
                            int days)


Copyright © 2012. All Rights Reserved.