public class WeekGrid
extends com.google.gwt.user.client.ui.SimplePanel
Modifier and Type | Class and Description |
---|---|
static class |
WeekGrid.Timebar |
Constructor and Description |
---|
WeekGrid(VCalendar parent,
boolean format24h) |
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public WeekGrid(VCalendar parent, boolean format24h)
public void setVerticalScrollPosition(int verticalScrollPosition)
public int getInternalWidth()
public void addDate(Date d)
public int getDateCellIndex(DateCell dateCell)
dateCell
- public int getDateSlotBorder()
public void setWidthPX(int width)
public void setHeightPX(int intHeight)
public void clearDates()
public boolean hasToday()
public void updateCellWidths()
public int[] getDateCellWidths()
public void updateCellHeights()
public void addEvent(CalendarEvent e)
public int getPixelLengthFor(int startFromMinutes, int durationInMinutes)
public int getPixelTopFor(int startFromMinutes)
public void eventMoved(DateCellDayEvent dayEvent)
public DateCell getDateCellOfToday()
public void setDisabled(boolean disabled)
public boolean isDisabled()
public WeekGrid.Timebar getTimeBar()
public void setCalendar(VCalendar calendar)
calendar
- the calendar to setpublic VCalendar getCalendar()
public int getDateCellWidth()
public int getDateCellCount()
public void setFirstHour(int firstHour)
public void setLastHour(int lastHour)
public int getFirstHour()
public int getLastHour()
public VCalendar getParentCalendar()
Copyright © 2019 Vaadin Ltd. All rights reserved.