public class VDateCalendarPanel extends VAbstractCalendarPanel<DateResolution>
VAbstractCalendarPanel.FocusChangeListener, VAbstractCalendarPanel.FocusedDate, VAbstractCalendarPanel.FocusOutListener, VAbstractCalendarPanel.SubmitListener
com.google.gwt.user.client.ui.FlexTable.FlexCellFormatter
com.google.gwt.user.client.ui.HTMLTable.Cell, com.google.gwt.user.client.ui.HTMLTable.CellFormatter, com.google.gwt.user.client.ui.HTMLTable.ColumnFormatter, com.google.gwt.user.client.ui.HTMLTable.RowFormatter
Constructor and Description |
---|
VDateCalendarPanel() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptDayFocus()
Returns
true if current resolution assumes handling focus event
for day UI component. |
protected boolean |
isBelowMonth(DateResolution resolution)
Returns
true if the resolution representation is strictly
below month (day, hour, etc..). |
protected boolean |
isDay(DateResolution resolution)
Returns
true if the provided resolution represents a day. |
protected boolean |
isMonth(DateResolution resolution)
Returns
true if the provided resolution represents a
month. |
contains, doRenderCalendar, doSetDate, getBackwardKey, getCloseKey, getDate, getDateField, getDateTimeService, getForwardKey, getNextKey, getPreviousKey, getResetKey, getResolution, getResolution, getResolutions, getSelectKey, getSubmitListener, getSubPartElement, getSubPartName, handleNavigation, handleNavigationDayMode, handleNavigationMonthMode, handleNavigationYearMode, isEnabled, isInitialRenderDone, isReadonly, isShowISOWeekNumbers, isYear, onBlur, onDetach, onFocus, onKeyDown, onKeyPress, onMouseDown, onMouseOut, onMouseUp, onTabOut, onValueChange, renderCalendar, renderCalendar, setAssistiveLabelNextMonth, setAssistiveLabelNextYear, setAssistiveLabelPreviousMonth, setAssistiveLabelPreviousYear, setDate, setDateStyles, setDateTimeService, setFocusChangeListener, setFocusOutListener, setParentField, setRangeEnd, setRangeStart, setResolution, setShowISOWeekNumbers, setStyleName, setStylePrimaryName, setSubmitListener, updateAssistiveLabels
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, focus, setFocus
addCell, getCellCount, getFlexCellFormatter, getRowCount, insertCell, insertRow, prepareCell, prepareRow, removeAllRows, removeCell, removeCells, removeRow
addClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addTableListener, checkCellBounds, checkRowBounds, clear, clear, clearCell, createCell, getBodyElement, getCellForEvent, getCellFormatter, getCellPadding, getCellSpacing, getColumnFormatter, getDOMCellCount, getDOMCellCount, getDOMCellCount, getDOMRowCount, getDOMRowCount, getDOMRowCount, getEventTargetCell, getHTML, getRowFormatter, getText, getWidget, insertCells, internalClearCell, internalClearCell, isCellPresent, iterator, onEnsureDebugId, prepareColumn, remove, removeTableListener, setBorderWidth, setCellFormatter, setCellPadding, setCellSpacing, setColumnFormatter, setHTML, setHTML, setRowFormatter, setText, setWidget, setWidget
add, add, adopt, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected boolean acceptDayFocus()
VAbstractCalendarPanel
true
if current resolution assumes handling focus event
for day UI component.acceptDayFocus
in class VAbstractCalendarPanel<DateResolution>
true
if day focus events should be handled, false
otherwiseprotected boolean isDay(DateResolution resolution)
VAbstractCalendarPanel
true
if the provided resolution
represents a day.isDay
in class VAbstractCalendarPanel<DateResolution>
resolution
- the given resolutiontrue
if the resolution
represents a dayprotected boolean isMonth(DateResolution resolution)
VAbstractCalendarPanel
true
if the provided resolution
represents a
month.isMonth
in class VAbstractCalendarPanel<DateResolution>
resolution
- the given resolutiontrue
if the resolution
represents a monthprotected boolean isBelowMonth(DateResolution resolution)
VAbstractCalendarPanel
true
if the resolution
representation is strictly
below month (day, hour, etc..).isBelowMonth
in class VAbstractCalendarPanel<DateResolution>
resolution
- the given resolutionresolution
is below the month resolutionCopyright © 2018 Vaadin Ltd. All rights reserved.