Package com.vaadin.ui

Class NativeButton

    • Constructor Detail

      • NativeButton

        public NativeButton()
      • NativeButton

        public NativeButton​(java.lang.String caption)
    • Method Detail

      • getState

        protected com.vaadin.shared.ui.button.NativeButtonState getState()
        Description copied from class: AbstractComponent
        Returns the shared state bean with information to be sent from the server to the client. Subclasses should override this method and set any relevant fields of the state returned by super.getState().
        Overrides:
        getState in class Button
        Returns:
        updated component shared state
      • getState

        protected com.vaadin.shared.ui.button.NativeButtonState getState​(boolean markAsDirty)
        Description copied from class: AbstractClientConnector
        Returns the shared state for this connector.
        Overrides:
        getState in class Button
        Parameters:
        markAsDirty - true if the connector should automatically be marked dirty, false otherwise
        Returns:
        The shared state for this connector. Never null.
        See Also:
        AbstractClientConnector.getState()