package pt.ist.renderers; import pt.ist.renderers.components.HtmlComponent; import pt.ist.renderers.components.HtmlPasswordInput; /** * This renderer provides a standard way of doing the input of a password. The * password is read with a password input field. * *
* Example: * * @author naat */ public class PasswordInputRenderer extends TextFieldRenderer { @Override protected HtmlComponent createTextField(Object object, Class type) { String string = (String) object; HtmlPasswordInput inputPassword = new HtmlPasswordInput(); inputPassword.setValue(string); return inputPassword; } }