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
  • Type Parameters:

    PANEL - the calendar panel type this field uses

    R - 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:

    VDateFieldCalendar, VDateTimeFieldCalendar

    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
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

        com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel

        com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
    • 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.google.gwt.user.client.ui.FlowPanel

        add, clear, insert, insert
      • 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 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 com.google.gwt.user.client.ui.InsertPanel.ForIsWidget

        add
    • 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 displayed

        resolution - 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