com.vaadin.client.ui.textfield.

Class AbstractTextFieldConnector

    • Constructor Detail

      • AbstractTextFieldConnector

        public AbstractTextFieldConnector()
    • 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

      • getValueChangeHandler

        protected ValueChangeHandler getValueChangeHandler()

        Returns the internal value change handler.

        Returns:

        the value change handler

      • sendValueChange

        public void sendValueChange()

        Sends the updated value and cursor position to the server, if either one has changed.

        Specified by:

        sendValueChange in interface ValueChangeHandler.Owner

      • 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

      • isWorkPending

        public boolean isWorkPending()

        Checks whether there are operations pending for this widget or connector that must be executed before reaching a steady state.

        Specified by:

        isWorkPending in interface DeferredWorker

        Since:

        8.0