com.vaadin.client.ui.calendar.schedule
Class DateCellDayEvent

java.lang.Object
  extended by HTML
      extended by com.vaadin.client.ui.calendar.schedule.FocusableHTML
          extended by com.vaadin.client.ui.calendar.schedule.DateCellDayEvent
All Implemented Interfaces:
Focusable, HasTooltipKey

public class DateCellDayEvent
extends FocusableHTML
implements HasTooltipKey

Internally used by the calendar

Since:
7.1

Field Summary
static int halfHourInMilliSeconds
           
 
Constructor Summary
DateCellDayEvent(DateCell dateCell, WeekGrid parent, CalendarEvent event)
           
 
Method Summary
 CalendarEvent getCalendarEvent()
           
 java.lang.Object getTooltipKey()
          Gets the key associated for the Widget implementing this interface.
 int getTop()
           
 boolean isDisabled()
           
protected  void onAttach()
           
 void onContextMenu(ContextMenuEvent event)
           
protected  void onDetach()
           
 void onKeyDown(KeyDownEvent event)
           
 void onMouseDown(MouseDownEvent event)
           
 void onMouseMove(MouseMoveEvent event)
           
 void onMouseUp(MouseUpEvent event)
           
 void setCalendarEvent(CalendarEvent calendarEvent)
           
 void setDisabled(boolean disabled)
           
 void setHeight(int h)
           
 void setMoveWidth(int width)
           
 void setSlotHeightInPX(int slotHeight)
           
 void updatePosition(long startFromMinutes, long durationInMinutes)
           
 
Methods inherited from class com.vaadin.client.ui.calendar.schedule.FocusableHTML
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, focus, setFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

halfHourInMilliSeconds

public static final int halfHourInMilliSeconds
See Also:
Constant Field Values
Constructor Detail

DateCellDayEvent

public DateCellDayEvent(DateCell dateCell,
                        WeekGrid parent,
                        CalendarEvent event)
Method Detail

onAttach

protected void onAttach()

onDetach

protected void onDetach()

setSlotHeightInPX

public void setSlotHeightInPX(int slotHeight)

updatePosition

public void updatePosition(long startFromMinutes,
                           long durationInMinutes)

getTop

public int getTop()

setMoveWidth

public void setMoveWidth(int width)

setHeight

public void setHeight(int h)

onKeyDown

public void onKeyDown(KeyDownEvent event)

onMouseDown

public void onMouseDown(MouseDownEvent event)

onMouseUp

public void onMouseUp(MouseUpEvent event)

onMouseMove

public void onMouseMove(MouseMoveEvent event)

setCalendarEvent

public void setCalendarEvent(CalendarEvent calendarEvent)

getCalendarEvent

public CalendarEvent getCalendarEvent()

setDisabled

public void setDisabled(boolean disabled)

isDisabled

public boolean isDisabled()

onContextMenu

public void onContextMenu(ContextMenuEvent event)

getTooltipKey

public java.lang.Object getTooltipKey()
Description copied from interface: HasTooltipKey
Gets the key associated for the Widget implementing this interface. This key is used for getting a tooltip title identified by the key

Specified by:
getTooltipKey in interface HasTooltipKey
Returns:
the tooltip key


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.