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

    • Constructor Detail

      • GeneratedVaadinPasswordField

        @Deprecated
        public GeneratedVaadinPasswordField​(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 GeneratedVaadinPasswordField 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
      • GeneratedVaadinPasswordField

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

        If isInitialValueOptional is true then the initial value is used only if element has no "value" property value, otherwise element "value" 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 "value" property value, otherwise element "value" property is ignored and the initial value is set
      • GeneratedVaadinPasswordField

        @Deprecated
        public GeneratedVaadinPasswordField​(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 GeneratedVaadinPasswordField 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
      • GeneratedVaadinPasswordField

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

      • isRevealButtonHiddenBoolean

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

        Description copied from corresponding location in WebComponent:

        Set to true to hide the eye icon which toggles the password visibility.

        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 revealButtonHidden property from the webcomponent
      • setRevealButtonHidden

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

        Description copied from corresponding location in WebComponent:

        Set to true to hide the eye icon which toggles the password visibility.

        Parameters:
        revealButtonHidden - the boolean value to set
      • isPasswordVisibleBoolean

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

        Description copied from corresponding location in WebComponent:

        True if the password is visible ([type=text]).

        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 passwordVisible property from the webcomponent