com.vaadin.client.ui.datefield.

Class AbstractDateFieldConnector<R extends Enum<R>>

    • Constructor Detail

      • AbstractDateFieldConnector

        public AbstractDateFieldConnector()
    • Method Detail

      • init

        protected void init()

        Description copied from class: AbstractConnector

        Called when the connector has been initialized. Override this method to perform initialization of the connector.

        Overrides:

        init in class AbstractConnector

      • getDefaultValues

        protected Map<R,​Integer> getDefaultValues()

        Returns the default date (when no date is selected) components as a map from Resolution to the corresponding value.

        Returns:

        default date component map

        Since:

        8.2

      • setAndUpdateAssistiveLabels

        protected void setAndUpdateAssistiveLabels​(VAbstractCalendarPanel calendar)

        Sets assistive labels for the calendar panel's navigation elements, and updates these labels.

        Parameters:

        calendar - the calendar panel for which to set the assistive labels

        Since:

        8.4

      • flush

        public void flush()

        Description copied from interface: ComponentConnector

        Called for the active (focused) connector when a situation occurs that the focused connector might have buffered changes which need to be processed before other activity takes place.

        This is currently called when the user changes the fragment using the back/forward button in the browser and allows the focused field to submit its value to the server before the fragment change event takes place.

        Specified by:

        flush in interface ComponentConnector

        Overrides:

        flush in class AbstractComponentConnector