All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.butterfaces.component.html.text.HtmlSecret Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
package org.butterfaces.component.html.text;

import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.FacesComponent;

@ResourceDependencies({
        @ResourceDependency(library = "butterfaces-dist-css", name = "butterfaces-default.css", target = "head"),
        @ResourceDependency(library = "butterfaces-dist-css", name = "dist-butterfaces-bootstrap.css", target = "head"),
        @ResourceDependency(library = "butterfaces-dist-bundle-dev-js", name = "butterfaces-third-party-jquery.js", target = "head"),
        @ResourceDependency(library = "butterfaces-dist-bundle-dev-js", name = "butterfaces-third-party-bootstrap.js", target = "head")
})
@FacesComponent(HtmlSecret.COMPONENT_TYPE)
public class HtmlSecret extends HtmlText {

    public static final String COMPONENT_TYPE = "org.butterfaces.component.secret";
    public static final String COMPONENT_FAMILY = "org.butterfaces.component.family";
    public static final String RENDERER_TYPE = "org.butterfaces.component.renderkit.html_basic.SecretRenderer";

    public HtmlSecret() {
        super();
        this.setRendererType(RENDERER_TYPE);
        this.setType("password");
    }

    @Override
    public String getFamily() {
        return COMPONENT_FAMILY;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy