|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bradrydzewski.gwt.calendar.client.CalendarView
com.bradrydzewski.gwt.calendar.client.monthview.MonthView
public class MonthView
A CalendarView that displays appointments for a given month. The Month is displayed in a grid-style view where cells represents days, columns represents days of the week (i.e. Monday, Tuesday, etc.) and rows represent a full week (Sunday through Saturday).
| Field Summary | |
|---|---|
static Comparator<Appointment> |
APPOINTMENT_COMPARATOR
|
| Fields inherited from class com.bradrydzewski.gwt.calendar.client.CalendarView |
|---|
calendarWidget |
| Constructor Summary | |
|---|---|
MonthView()
|
|
| Method Summary | |
|---|---|
void |
attach(CalendarWidget widget)
This method is called when the MonthView is attached to the Calendar and displayed. |
void |
doLayout()
Performs a Layout and arranges all appointments on the MonthView's appointment canvas. |
String |
getStyleName()
Gets the Month View's primary style name. |
void |
onAppointmentSelected(Appointment appt)
|
void |
onDeleteKeyPressed()
Processes user com.google.gwt.event.dom.client.KeyCodes.KEY_DELETE
keystrokes. |
void |
onDoubleClick(com.google.gwt.user.client.Element clickedElement,
com.google.gwt.user.client.Event event)
Handles the DoubleClick event to determine if an Appointment has been selected. |
void |
onMouseOver(com.google.gwt.user.client.Element element,
com.google.gwt.user.client.Event event)
|
void |
onSingleClick(com.google.gwt.user.client.Element clickedElement,
com.google.gwt.user.client.Event event)
Handles the a single click to determine if an appointment has been selected. |
| Methods inherited from class com.bradrydzewski.gwt.calendar.client.CalendarView |
|---|
createAppointment, createAppointment, deleteAppointment, detatch, doSizing, getDisplayedDays, getSettings, onDownArrowKeyPressed, onLeftArrowKeyPressed, onRightArrowKeyPressed, onUpArrowKeyPressed, openAppointment, scrollToHour, selectAppointment, selectNextAppointment, selectPreviousAppointment, setDisplayedDays, setSettings, updateAppointment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Comparator<Appointment> APPOINTMENT_COMPARATOR
| Constructor Detail |
|---|
public MonthView()
| Method Detail |
|---|
public void attach(CalendarWidget widget)
attach in class CalendarViewwidget - The interactive widget containing the calendarpublic void doLayout()
doLayout in class CalendarViewpublic String getStyleName()
getStyleName in class CalendarView
public void onDoubleClick(com.google.gwt.user.client.Element clickedElement,
com.google.gwt.user.client.Event event)
onDoubleClick in class CalendarView
public void onSingleClick(com.google.gwt.user.client.Element clickedElement,
com.google.gwt.user.client.Event event)
onSingleClick in class CalendarView
public void onMouseOver(com.google.gwt.user.client.Element element,
com.google.gwt.user.client.Event event)
onMouseOver in class CalendarViewpublic void onDeleteKeyPressed()
CalendarViewcom.google.gwt.event.dom.client.KeyCodes.KEY_DELETE
keystrokes. The CalendarView implementation is empty so that
subclasses are not forced to implement it if no specific logic is needed
for com.google.gwt.event.dom.client.KeyCodes.KEY_DELETE
keystrokes.
onDeleteKeyPressed in class CalendarViewpublic void onAppointmentSelected(Appointment appt)
onAppointmentSelected in class CalendarView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||