com.vaadin.client.ui.calendar.schedule
Class SimpleDayCell
java.lang.Object
FlowPanel
com.vaadin.client.ui.FocusableFlowPanel
com.vaadin.client.ui.calendar.schedule.SimpleDayCell
- All Implemented Interfaces:
- Focusable
public class SimpleDayCell
- extends FocusableFlowPanel
A class representing a single cell within the calendar in month-view
- Since:
- 7.1
- Author:
- Vaadin Ltd.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDayCell
public SimpleDayCell(VCalendar calendar,
int row,
int cell)
onLoad
public void onLoad()
setMonthGrid
public void setMonthGrid(MonthGrid monthGrid)
getMonthGrid
public MonthGrid getMonthGrid()
setDate
public void setDate(java.util.Date date)
getDate
public java.util.Date getDate()
reDraw
public void reDraw(boolean clear)
setHeightPX
public void setHeightPX(int px,
boolean clear)
updateEvents
public void updateEvents(int slots,
boolean clear)
addCalendarEvent
public void addCalendarEvent(CalendarEvent e)
setMonthNameVisible
public void setMonthNameVisible(boolean b)
addMouseMoveHandler
public com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(MouseMoveHandler handler)
onAttach
protected void onAttach()
onDetach
protected void onDetach()
onMouseUp
public void onMouseUp(MouseUpEvent event)
onMouseDown
public void onMouseDown(MouseDownEvent event)
onMouseOver
public void onMouseOver(MouseOverEvent event)
onMouseMove
public void onMouseMove(MouseMoveEvent event)
startCalendarEventDrag
public void startCalendarEventDrag(MouseDownEvent event,
MonthEventLabel w)
cancelEventDrag
protected void cancelEventDrag(MonthEventLabel w)
updateDragPosition
public void updateDragPosition(MonthEventLabel w,
int dayDiff,
int weekDiff)
getRow
public int getRow()
getCell
public int getCell()
getHeigth
public int getHeigth()
getWidth
public int getWidth()
setToday
public void setToday(boolean today)
removeEvent
public boolean removeEvent(CalendarEvent targetEvent,
boolean reDrawImmediately)
getCalendarEvent
public CalendarEvent getCalendarEvent(int i)
getEvents
public CalendarEvent[] getEvents()
getEventCount
public int getEventCount()
getMoveEvent
public CalendarEvent getMoveEvent()
addEmphasisStyle
public void addEmphasisStyle()
removeEmphasisStyle
public void removeEmphasisStyle()
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.