com.bradrydzewski.gwt.calendar.client.agenda
Class AgendaView
java.lang.Object
com.bradrydzewski.gwt.calendar.client.CalendarView
com.bradrydzewski.gwt.calendar.client.agenda.AgendaView
- All Implemented Interfaces:
- HasSettings
public class AgendaView
- extends CalendarView
|
Method Summary |
void |
attach(CalendarWidget widget)
Adds the calendar view to the calendar widget and performs required formatting. |
void |
doLayout()
|
protected com.bradrydzewski.gwt.calendar.client.agenda.AgendaView.AgendaViewAppointmentAdapter |
getAppointmentFromClickedWidget(com.google.gwt.user.client.ui.Widget w)
Given Widget w determine which appointment was clicked. |
String |
getStyleName()
Gets the style name associated with this particular view |
void |
onAppointmentSelected(Appointment appt)
|
void |
onDoubleClick(com.google.gwt.user.client.Element element,
com.google.gwt.user.client.Event event)
|
void |
onMouseOver(com.google.gwt.user.client.Element element,
com.google.gwt.user.client.Event event)
|
void |
onSingleClick(com.google.gwt.user.client.Element element,
com.google.gwt.user.client.Event event)
|
| Methods inherited from class com.bradrydzewski.gwt.calendar.client.CalendarView |
createAppointment, createAppointment, deleteAppointment, detatch, doSizing, getDisplayedDays, getSettings, onDeleteKeyPressed, 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 |
AgendaView
public AgendaView()
attach
public void attach(CalendarWidget widget)
- Adds the calendar view to the calendar widget and performs required formatting.
- Overrides:
attach in class CalendarView
- Parameters:
widget - The interactive widget containing the calendar
getStyleName
public String getStyleName()
- Gets the style name associated with this particular view
- Specified by:
getStyleName in class CalendarView
- Returns:
- Style name.
doLayout
public void doLayout()
- Specified by:
doLayout in class CalendarView
getAppointmentFromClickedWidget
protected com.bradrydzewski.gwt.calendar.client.agenda.AgendaView.AgendaViewAppointmentAdapter getAppointmentFromClickedWidget(com.google.gwt.user.client.ui.Widget w)
- Given Widget w determine which appointment was clicked. This is necessary because
each appointment has 3 widgets that can be clicked - the title, date range and
description.
- Parameters:
w - Widget that was clicked.
- Returns:
- Appointment mapped to that widget.
onDoubleClick
public void onDoubleClick(com.google.gwt.user.client.Element element,
com.google.gwt.user.client.Event event)
- Specified by:
onDoubleClick in class CalendarView
onSingleClick
public void onSingleClick(com.google.gwt.user.client.Element element,
com.google.gwt.user.client.Event event)
- Specified by:
onSingleClick in class CalendarView
onMouseOver
public void onMouseOver(com.google.gwt.user.client.Element element,
com.google.gwt.user.client.Event event)
- Specified by:
onMouseOver in class CalendarView
onAppointmentSelected
public void onAppointmentSelected(Appointment appt)
- Specified by:
onAppointmentSelected in class CalendarView
Copyright © 2012. All Rights Reserved.