public class InputPassword extends Input
Input.Type| Constructor and Description |
|---|
InputPassword() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawAttributes() |
java.lang.Integer |
getMaxLength()
Specifies the maximum length (in characters) of an input field.
|
java.lang.Integer |
getSize()
Specifies the width of an input field.
|
protected Input.Type |
getType()
Specifies the type of an input element.
|
boolean |
isReadOnly()
Specifies that an input field should be read-only.
|
InputPassword |
setMaxLength(java.lang.Integer maxLength)
Set "maxLength" property and if element was draw call script at browser.
|
InputPassword |
setReadOnly(boolean readOnly)
Set "readOnly" property and if element was draw call script at browser.
|
InputPassword |
setSize(java.lang.Integer size)
Set "size" property and if element was draw call script at browser.
|
assignValue, getName, getPlaceholder, getValue, isDisabled, setDisabled, setName, setPlaceholder, setValueadd, addAllDropTargets, addDropTarget, addListener, addStyleClass, alert, assignText, callBack, callBack, callScript, clearDropTargets, clearElements, clearElements, confirm, confirm, drawAttribute, findElement, findParent, findViewElements, fireEvent, fireEvent, fireEventOnView, fireEventOnView, firePropertyChange, focus, getApplication, getBundle, getBundleObject, getCustomDragMove, getDir, getDragDropEventsOptions, getDropTargets, getElements, getElements, getEventListeners, getId, getLang, getParent, getStyle, getStyleClass, getTabIndex, getText, getTitle, insert, isChildrenSetChanged, isContenteditable, isDraggable, isDrawn, isEscapeText, isListening, isListening, isListening, print, prompt, prompt, remove, remove, removeAttribute, removeDropTarget, removeListener, removeListener, removeParent, removeStyleClass, replace, replaceStyleClass, retrieveListeners, retrieveListeners, setChangeChildrenSet, setContenteditable, setCustomDragMove, setDir, setDragDropEventsOptions, setDraggable, setDrawn, setEscapeText, setLang, setParent, setStyle, setStyleClass, setTabIndex, setText, setTitle, transformTagName@InitializeAttributes public void drawAttributes()
drawAttributes in class Inputprotected Input.Type getType()
Inputpublic java.lang.Integer getMaxLength()
public InputPassword setMaxLength(java.lang.Integer maxLength)
maxLength - the maxLength to set. If is null call removeAttribute of
element at browser. If not null call set "maxLength" property
of element at browser.public java.lang.Integer getSize()
public InputPassword setSize(java.lang.Integer size)
size - the size to set. If is null call removeAttribute of element at
browser. If not null call set "size" property of element at
browser.public boolean isReadOnly()
isReadOnly in class Inputpublic InputPassword setReadOnly(boolean readOnly)
setReadOnly in class InputreadOnly - the readOnly to set.