com.bradrydzewski.gwt.calendar.client.dayview
Class AppointmentAdapter
java.lang.Object
com.bradrydzewski.gwt.calendar.client.dayview.AppointmentAdapter
public class AppointmentAdapter
- extends Object
The Appointment Adapter is used to track the layout of an
AppointmentInterface. It adds additional fields required to
calculate layout that are used by the Layout Strategy classes.
This adapter allows us to keep these fields outside of the
main AppointmentInterface and implementations hiding
the layout complexity from the user.
- Author:
- Brad Rydzewski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppointmentAdapter
public AppointmentAdapter(Appointment appointment)
getTop
public float getTop()
setTop
public void setTop(float top)
getLeft
public float getLeft()
setLeft
public void setLeft(float left)
getWidth
public float getWidth()
setWidth
public void setWidth(float width)
getHeight
public float getHeight()
setHeight
public void setHeight(float height)
getCellStart
public int getCellStart()
setCellStart
public void setCellStart(int cellStart)
getCellSpan
public int getCellSpan()
setCellSpan
public void setCellSpan(int cellSpan)
getColumnStart
public int getColumnStart()
setColumnStart
public void setColumnStart(int columnStart)
getColumnSpan
public int getColumnSpan()
setColumnSpan
public void setColumnSpan(int columnSpan)
getAppointmentStart
public int getAppointmentStart()
setAppointmentStart
public void setAppointmentStart(int appointmentStart)
getAppointmentEnd
public int getAppointmentEnd()
setAppointmentEnd
public void setAppointmentEnd(int appointmentEnd)
getIntersectingBlocks
public List<TimeBlock> getIntersectingBlocks()
setIntersectingBlocks
public void setIntersectingBlocks(List<TimeBlock> intersectingBlocks)
getAppointment
public Appointment getAppointment()
getCellPercentFill
public float getCellPercentFill()
setCellPercentFill
public void setCellPercentFill(float cellPercentFill)
getCellPercentStart
public float getCellPercentStart()
setCellPercentStart
public void setCellPercentStart(float cellPercentStart)
Copyright © 2012. All Rights Reserved.