Class GeneratedVaadinButton<R extends GeneratedVaadinButton<R>>

    • Constructor Detail

      • GeneratedVaadinButton

        @Deprecated
        public GeneratedVaadinButton​(String text)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Sets the given string as the content of this component.
        Parameters:
        text - the text content to set
        See Also:
        HasText.setText(String)
      • GeneratedVaadinButton

        @Deprecated
        public GeneratedVaadinButton()
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Default constructor.
    • Method Detail

      • isAutofocusBoolean

        @Deprecated
        protected boolean isAutofocusBoolean()
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        Specify that this control should have input focus when the page loads.

        This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.

        Returns:
        the autofocus property from the webcomponent
      • setAutofocus

        @Deprecated
        protected void setAutofocus​(boolean autofocus)
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        Specify that this control should have input focus when the page loads.

        Parameters:
        autofocus - the boolean value to set
      • isDisabledBoolean

        @Deprecated
        protected boolean isDisabledBoolean()
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        If true, the user cannot interact with this element.

        This property is not synchronized automatically from the client side, so the returned value may not be the same as in client side.

        Returns:
        the disabled property from the webcomponent
      • setDisabled

        @Deprecated
        protected void setDisabled​(boolean disabled)
        Deprecated.
        Since 3.0, this API is deprecated in favor of HasEnabled.setEnabled(boolean)

        Description copied from corresponding location in WebComponent:

        If true, the user cannot interact with this element.

        Parameters:
        disabled - the boolean value to set
      • addToPrefix

        @Deprecated
        protected void addToPrefix​(Component... components)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Adds the given components as children of this component at the slot 'prefix'.
        Parameters:
        components - The components to add.
        See Also:
        MDN page about slots, Spec website about slots
      • addToSuffix

        @Deprecated
        protected void addToSuffix​(Component... components)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Adds the given components as children of this component at the slot 'suffix'.
        Parameters:
        components - The components to add.
        See Also:
        MDN page about slots, Spec website about slots
      • remove

        @Deprecated
        protected void remove​(Component... components)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Removes the given child components from this component.
        Parameters:
        components - The components to remove.
        Throws:
        IllegalArgumentException - if any of the components is not a child of this component.
      • removeAll

        @Deprecated
        protected void removeAll()
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Removes all contents from this component, this includes child components, text content as well as child elements that have been added directly to this component using the Element API.