com.bradrydzewski.gwt.calendar.client.monthview
Class AppointmentLayoutDescription

java.lang.Object
  extended by com.bradrydzewski.gwt.calendar.client.monthview.AppointmentLayoutDescription

public class AppointmentLayoutDescription
extends Object

Contains common properties and behavior for layout descriptions that can be "stacked" on top of each month view's week.

Author:
Carlos D. Morales

Constructor Summary
AppointmentLayoutDescription(int weekDay, Appointment appointment)
           
AppointmentLayoutDescription(int fromWeekDay, int toWeekDay, Appointment appointment)
           
 
Method Summary
 Appointment getAppointment()
           
 int getStackOrder()
           
 int getWeekEndDay()
           
 int getWeekStartDay()
           
 boolean overlapsWithRange(int from, int to)
           
 void setAppointment(Appointment appointment)
           
 void setStackOrder(int stackOrder)
           
 boolean spansMoreThanADay()
           
 AppointmentLayoutDescription split()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AppointmentLayoutDescription

public AppointmentLayoutDescription(int fromWeekDay,
                                    int toWeekDay,
                                    Appointment appointment)

AppointmentLayoutDescription

public AppointmentLayoutDescription(int weekDay,
                                    Appointment appointment)
Method Detail

overlapsWithRange

public boolean overlapsWithRange(int from,
                                 int to)

setStackOrder

public void setStackOrder(int stackOrder)

getStackOrder

public int getStackOrder()

getWeekStartDay

public int getWeekStartDay()

getWeekEndDay

public int getWeekEndDay()

spansMoreThanADay

public boolean spansMoreThanADay()

split

public AppointmentLayoutDescription split()

getAppointment

public Appointment getAppointment()

setAppointment

public void setAppointment(Appointment appointment)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.