com.vaadin.client.ui.
Class VAbstractDateFieldCalendar<PANEL extends VAbstractCalendarPanel<R>,R extends Enum<R>>
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.ComplexPanel
-
- com.google.gwt.user.client.ui.FlowPanel
-
- com.vaadin.client.ui.VDateField<R>
-
- com.vaadin.client.ui.VAbstractDateFieldCalendar<PANEL,R>
-
Type Parameters:
PANEL
- the calendar panel type this field usesR
- the resolution type which this field is based on (day, month, ...)All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasEnabled
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IndexedPanel
,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
,com.google.gwt.user.client.ui.InsertPanel
,com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,Field
,Iterable<com.google.gwt.user.client.ui.Widget>
Direct Known Subclasses:
public abstract class VAbstractDateFieldCalendar<PANEL extends VAbstractCalendarPanel<R>,R extends Enum<R>> extends VDateField<R>
A client side implementation for inline date field.
Author:
Vaadin Ltd
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
-
-
Field Summary
Fields Modifier and Type Field Description PANEL
calendarPanel
For internal use only.
-
Fields inherited from class com.vaadin.client.ui.VDateField
bufferedDateString, bufferedResolutions, CLASSNAME, client, connector, currentLocale, dts, enabled, readonly, rpc, showISOWeekNumbers
-
-
Constructor Summary
Constructors Constructor Description VAbstractDateFieldCalendar(PANEL panel, R resolution)
Constructs a date selection widget with an inline date/time selector.
-
Method Summary
All Methods Modifier and Type Method Description int
getTabIndex()
Returns the tabulator index of the calendar panel element that represents the entire widget in the browser's focus cycle.
void
setTabIndex(int tabIndex)
Sets the tabulator index for the calendar panel element that represents the entire widget in the browser's focus cycle.
abstract void
updateValueFromPanel()
Update buffered values and send them (if any) to the server.
-
Methods inherited from class com.vaadin.client.ui.VDateField
doGetResolutions, getClient, getCurrentDate, getCurrentLocale, getCurrentResolution, getDate, getDate, getDateTimeService, getDefaultDate, getId, getResolutions, getResolutionVariable, isEnabled, isReadonly, isShowISOWeekNumbers, isYear, resolutionAsString, sendBufferedValues, sendBufferedValuesWithDelay, setCurrentDate, setCurrentDate, setCurrentLocale, setCurrentResolution, setDate, setDefaultDate, setDefaultDate, setEnabled, setReadonly, setShowISOWeekNumbers, supportsTime, updateBufferedValues
-
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
-
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
calendarPanel
public final PANEL extends VAbstractCalendarPanel<R> calendarPanel
For internal use only. May be removed or replaced in the future.
-
-
Constructor Detail
-
VAbstractDateFieldCalendar
public VAbstractDateFieldCalendar(PANEL panel, R resolution)
Constructs a date selection widget with an inline date/time selector.
Parameters:
panel
- the calendar panel instance that should be displayedresolution
- the resolution this widget should display (day, month, ...)
-
-
Method Detail
-
updateValueFromPanel
public abstract void updateValueFromPanel()
Update buffered values and send them (if any) to the server.
-
setTabIndex
public void setTabIndex(int tabIndex)
Sets the tabulator index for the calendar panel element that represents the entire widget in the browser's focus cycle.
Parameters:
tabIndex
- the new tabulator index
-
getTabIndex
public int getTabIndex()
Returns the tabulator index of the calendar panel element that represents the entire widget in the browser's focus cycle.
Returns:
the tabulator index
-
-