Class GeneratedVaadinCheckbox<R extends GeneratedVaadinCheckbox<R,​T>,​T>

    • Constructor Detail

      • GeneratedVaadinCheckbox

        @Deprecated
        public GeneratedVaadinCheckbox​(T initialValue,
                                       T defaultValue,
                                       Class<P> elementPropertyType,
                                       SerializableFunction<P,​T> presentationToModel,
                                       SerializableFunction<T,​P> modelToPresentation)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Constructs a new GeneratedVaadinCheckbox component with the given arguments.
        Type Parameters:
        P - the property type
        Parameters:
        initialValue - the initial value to set to the value
        defaultValue - the default value to use if the value isn't defined
        elementPropertyType - the type of the element property
        presentationToModel - a function that converts a string value to a model value
        modelToPresentation - a function that converts a model value to a string value
      • GeneratedVaadinCheckbox

        @Deprecated
        public GeneratedVaadinCheckbox​(T initialValue,
                                       T defaultValue,
                                       boolean acceptNullValues,
                                       boolean isInitialValueOptional)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Constructs a new GeneratedVaadinCheckbox component with the given arguments.

        If isInitialValueOptional is true then the initial value is used only if element has no "checked" property value, otherwise element "checked" property is ignored and the initial value is set,

        Parameters:
        initialValue - the initial value to set to the value
        defaultValue - the default value to use if the value isn't defined
        acceptNullValues - whether null is accepted as a model value
        isInitialValueOptional - if isInitialValueOptional is true then the initial value is used only if element has no "checked" property value, otherwise element "checked" property is ignored and the initial value is set
      • GeneratedVaadinCheckbox

        @Deprecated
        public GeneratedVaadinCheckbox​(T initialValue,
                                       T defaultValue,
                                       boolean acceptNullValues)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Constructs a new GeneratedVaadinCheckbox component with the given arguments.

        If isInitialValueOptional is true then the initial value is used only if element has no "checked" property value, otherwise element "checked" property is ignored and the initial value is set,

        Parameters:
        initialValue - the initial value to set to the value
        defaultValue - the default value to use if the value isn't defined
        acceptNullValues - whether null is accepted as a model value
      • GeneratedVaadinCheckbox

        @Deprecated
        public GeneratedVaadinCheckbox​(T initialValue,
                                       T defaultValue,
                                       Class<P> elementPropertyType,
                                       SerializableBiFunction<R,​P,​T> presentationToModel,
                                       SerializableBiFunction<R,​T,​P> modelToPresentation)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Constructs a new GeneratedVaadinCheckbox component with the given arguments.
        Type Parameters:
        P - the property type
        Parameters:
        initialValue - the initial value to set to the value
        defaultValue - the default value to use if the value isn't defined
        elementPropertyType - the type of the element property
        presentationToModel - a function that accepts this component and a property value and returns a model value
        modelToPresentation - a function that accepts this component and a model value and returns a property value
      • GeneratedVaadinCheckbox

        @Deprecated
        public GeneratedVaadinCheckbox()
        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 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.

        Parameters:
        disabled - the boolean value to set
      • getNameString

        @Deprecated
        protected String getNameString()
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        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 name property from the webcomponent
      • setName

        @Deprecated
        protected void setName​(String name)
        Deprecated.
        since v23.3, generated classes will be removed in v24.
        Parameters:
        name - the String value to set
      • isIndeterminateBoolean

        @Deprecated
        @Synchronize(property="indeterminate",
                     value="indeterminate-changed")
        protected boolean isIndeterminateBoolean()
        Deprecated.
        since v23.3, generated classes will be removed in v24.

        Description copied from corresponding location in WebComponent:

        Indeterminate state of the checkbox when it's neither checked nor unchecked, but undetermined. https://developer.mozilla.org/en-US/docs/Web/ HTML/Element/input/checkbox#Indeterminate_state_checkboxes

        This property is synchronized automatically from client side when a 'indeterminate-changed' event happens.

        Returns:
        the indeterminate property from the webcomponent
      • setIndeterminate

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

        Description copied from corresponding location in WebComponent:

        Indeterminate state of the checkbox when it's neither checked nor unchecked, but undetermined. https://developer.mozilla.org/en-US/docs/Web/ HTML/Element/input/checkbox#Indeterminate_state_checkboxes

        Parameters:
        indeterminate - the boolean value to set