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

java.lang.Object
  extended by Grid
      extended by com.vaadin.client.ui.calendar.schedule.FocusableGrid
          extended by com.vaadin.client.ui.calendar.schedule.MonthGrid
All Implemented Interfaces:
Focusable

public class MonthGrid
extends FocusableGrid

Since:
7.1
Author:
Vaadin Ltd.

Constructor Summary
MonthGrid(VCalendar parent, int rows, int columns)
           
 
Method Summary
 void cancelRangeSelection()
           
 int getDayCellIndex(SimpleDayCell dayCell)
           
 boolean isEnabled()
           
 void onKeyDown(KeyDownEvent event)
           
protected  void onUnload()
           
 void setEnabled(boolean enabled)
           
 void setRangeSelect(boolean b)
          Disable or enable possibility to select ranges
 void setSelectionEnd(SimpleDayCell simpleDayCell)
           
 void setSelectionReady()
           
 void setSelectionStart(SimpleDayCell simpleDayCell)
           
 void updateCellSizes(int totalWidthPX, int totalHeightPX)
           
 
Methods inherited from class com.vaadin.client.ui.calendar.schedule.FocusableGrid
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, focus, makeFocusable, setFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonthGrid

public MonthGrid(VCalendar parent,
                 int rows,
                 int columns)
Method Detail

onUnload

protected void onUnload()

setSelectionEnd

public void setSelectionEnd(SimpleDayCell simpleDayCell)

setSelectionStart

public void setSelectionStart(SimpleDayCell simpleDayCell)

setSelectionReady

public void setSelectionReady()

cancelRangeSelection

public void cancelRangeSelection()

updateCellSizes

public void updateCellSizes(int totalWidthPX,
                            int totalHeightPX)

setRangeSelect

public void setRangeSelect(boolean b)
Disable or enable possibility to select ranges


setEnabled

public void setEnabled(boolean enabled)

isEnabled

public boolean isEnabled()

onKeyDown

public void onKeyDown(KeyDownEvent event)

getDayCellIndex

public int getDayCellIndex(SimpleDayCell dayCell)


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