| Modifier and Type | Class and Description |
|---|---|
static class |
Input
|
| Constructor and Description |
|---|
Input()
|
| Modifier and Type | Method and Description |
|---|---|
void |
maxLength(int maxLength)
|
void |
setChecked(boolean value)
When the type is "radio" or "checkbox", this property specifies that the control is checked.
|
void |
setId(String
|
void |
setName(String
|
void |
setPlaceholder(String
|
void |
setSize(int size)
|
void |
setSrc(String
When the type is "image", this property specifies the location of the image to be displayed.
|
void |
setType(Input
|
void |
setType(String
|
void |
setValue(String
|
ac, addClass, ap, append, appendChild, appendText, attr, attr, classNames, inner, insertChildren, prepend, prependChild, prependText, removeClass, text, toggleClassafter, after, appendElement, before, before, child, children, className, classNames, clone, cssSelector, data, dataNodes, dataset, elementSiblingIndex, empty, equals, firstElementSibling, getAllElements, getElementById, getElementsByAttribute, getElementsByAttributeStarting, getElementsByAttributeValue, getElementsByAttributeValueContaining, getElementsByAttributeValueEnding, getElementsByAttributeValueMatching, getElementsByAttributeValueMatching, getElementsByAttributeValueNot, getElementsByAttributeValueStarting, getElementsByClass, getElementsByIndexEquals, getElementsByIndexGreaterThan, getElementsByIndexLessThan, getElementsByTag, getElementsContainingOwnText, getElementsContainingText, getElementsMatchingOwnText, getElementsMatchingOwnText, getElementsMatchingText, getElementsMatchingText, hasClass, hashCode, hasText, html, html, id, isBlock, lastElementSibling, nextElementSibling, nodeName, ownText, parent, parents, prependElement, previousElementSibling, select, siblingElements, tag, tagName, tagName, text, textNodes, toString, val, val, wrapabsUrl, addChildren, addChildren, attr, attributes, baseUri, childNode, childNodes, childNodesAsArray, childNodesCopy, childNodeSize, doClone, ensureChildNodes, hasAttr, indent, nextSibling, outerHtml, outerHtml, ownerDocument, parentNode, previousSibling, remove, removeAttr, removeChild, reparentChild, replaceChild, replaceWith, setBaseUri, setParentNode, setSiblingIndex, siblingIndex, siblingNodes, traverse, unwrappublic void setType(Input.Type type)
public void setType(Stringtype)
public void setId(Stringid)
public void setName(Stringname)
public void setValue(Stringvalue)
public void setPlaceholder(Stringvalue)
public void setChecked(boolean value)
value - a boolean value.
public void setSize(int size)
public void maxLength(int maxLength)
public void setSrc(Stringsrc)
src - the location of an image.