public class EventLayoutComputer
extends java.lang.Object
Constructor and Description |
---|
EventLayoutComputer(int numberOfDivisionsInHour)
Construct a DayModel for an IEventEditor.
|
Modifier and Type | Method and Description |
---|---|
CalendarableItem[][] |
computeEventLayout(java.util.List calendarables)
Given an unsorted list of Calendarables, each of which has a start and an
end time, this method will compute the day row coordinates for each
Calendarable, set that information into each Calendarable, and will
return the number of columns that will be required to lay out the given
list of Calendarables.
|
public EventLayoutComputer(int numberOfDivisionsInHour)
numberOfDivisionsInHour
- public CalendarableItem[][] computeEventLayout(java.util.List calendarables)
calendarables
- A list of Calenderables