com.bradrydzewski.gwt.calendar.client.monthview
Class WeekLayoutDescription
java.lang.Object
com.bradrydzewski.gwt.calendar.client.monthview.WeekLayoutDescription
public class WeekLayoutDescription
- extends Object
Describes the layout of days (single, all and multi-day) within a single week
that is visualized in the MonthView. A WeekLayoutDescription
is not aware of any other thing than placing an appointment
horizontally, i.e., without considering the exact week the
appointment belongs to. It is the MonthLayoutDescription
responsibility to allocate the month necessary weeks and
distributing appointments over them.
- Author:
- Carlos D. Morales
- See Also:
MonthView,
MonthLayoutDescription
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIRST_DAY
public static final int FIRST_DAY
- See Also:
- Constant Field Values
LAST_DAY
public static final int LAST_DAY
- See Also:
- Constant Field Values
WeekLayoutDescription
public WeekLayoutDescription(Date calendarFirstDay,
Date calendarLastDay,
int maxLayer)
WeekLayoutDescription
public WeekLayoutDescription(Date calendarFirstDay,
Date calendarLastDay)
areThereAppointmentsOnDay
public boolean areThereAppointmentsOnDay(int day)
getDayLayoutDescription
public DayLayoutDescription getDayLayoutDescription(int day)
addAppointment
public void addAppointment(Appointment appointment)
currentStackOrderInDay
public int currentStackOrderInDay(int dayIndex)
addMultiDayAppointment
public void addMultiDayAppointment(Appointment appointment)
addMultiWeekAppointment
public void addMultiWeekAppointment(Appointment appointment,
AppointmentWidgetParts presenceInMonth)
getTopAppointmentsManager
public AppointmentStackingManager getTopAppointmentsManager()
Copyright © 2012. All Rights Reserved.