com.bradrydzewski.gwt.calendar.client.dayview
Class DayView

java.lang.Object
  extended by com.bradrydzewski.gwt.calendar.client.CalendarView
      extended by com.bradrydzewski.gwt.calendar.client.dayview.DayView
All Implemented Interfaces:
HasSettings

public class DayView
extends CalendarView


Field Summary
 
Fields inherited from class com.bradrydzewski.gwt.calendar.client.CalendarView
calendarWidget
 
Constructor Summary
DayView()
           
 
Method Summary
 void attach(CalendarWidget widget)
          Attaches this view to the provided CalendarWidget.
 void doLayout()
           
 void doSizing()
           
 String getStyleName()
          Returns the CSS style name of this calendar view.
 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 element, com.google.gwt.user.client.Event event)
           
 void onDownArrowKeyPressed()
          Processes user com.google.gwt.event.dom.client.KeyCodes.KEY_DOWN keystrokes.
 void onLeftArrowKeyPressed()
          Processes user com.google.gwt.event.dom.client.KeyCodes.KEY_LEFT keystrokes.
 void onMouseOver(com.google.gwt.user.client.Element element, com.google.gwt.user.client.Event event)
           
 void onRightArrowKeyPressed()
          Processes user com.google.gwt.event.dom.client.KeyCodes.KEY_RIGHT keystrokes.
 void onSingleClick(com.google.gwt.user.client.Element element, com.google.gwt.user.client.Event event)
           
 void onUpArrowKeyPressed()
          Processes user com.google.gwt.event.dom.client.KeyCodes.KEY_UP keystrokes.
 void scrollToHour(int hour)
           
 
Methods inherited from class com.bradrydzewski.gwt.calendar.client.CalendarView
createAppointment, createAppointment, deleteAppointment, detatch, getDisplayedDays, getSettings, openAppointment, selectAppointment, selectNextAppointment, selectPreviousAppointment, setDisplayedDays, setSettings, updateAppointment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DayView

public DayView()
Method Detail

doLayout

public void doLayout()
Specified by:
doLayout in class CalendarView

scrollToHour

public void scrollToHour(int hour)
Overrides:
scrollToHour in class CalendarView

doSizing

public void doSizing()
Overrides:
doSizing in class CalendarView

onDeleteKeyPressed

public void onDeleteKeyPressed()
Description copied from class: CalendarView
Processes user com.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.

Overrides:
onDeleteKeyPressed in class CalendarView

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

onRightArrowKeyPressed

public void onRightArrowKeyPressed()
Description copied from class: CalendarView
Processes user com.google.gwt.event.dom.client.KeyCodes.KEY_RIGHT 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_RIGHT keystrokes.

Overrides:
onRightArrowKeyPressed in class CalendarView

onUpArrowKeyPressed

public void onUpArrowKeyPressed()
Description copied from class: CalendarView
Processes user com.google.gwt.event.dom.client.KeyCodes.KEY_UP 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_UP keystrokes.

Overrides:
onUpArrowKeyPressed in class CalendarView

onDownArrowKeyPressed

public void onDownArrowKeyPressed()
Description copied from class: CalendarView
Processes user com.google.gwt.event.dom.client.KeyCodes.KEY_DOWN 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_DOWN keystrokes.

Overrides:
onDownArrowKeyPressed in class CalendarView

onLeftArrowKeyPressed

public void onLeftArrowKeyPressed()
Description copied from class: CalendarView
Processes user com.google.gwt.event.dom.client.KeyCodes.KEY_LEFT 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_LEFT keystrokes.

Overrides:
onLeftArrowKeyPressed in class CalendarView

getStyleName

public String getStyleName()
Description copied from class: CalendarView
Returns the CSS style name of this calendar view.

Specified by:
getStyleName in class CalendarView
Returns:
The CSS style that should be used when rendering this calendar view

attach

public void attach(CalendarWidget widget)
Description copied from class: CalendarView
Attaches this view to the provided CalendarWidget.

Overrides:
attach in class CalendarView
Parameters:
widget - The interactive widget containing the calendar


Copyright © 2012. All Rights Reserved.