|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzk.Object
zk.Widget
zul.Widget
zul.inp.InputWidget
zul.inp.Textbox
public class Textbox
A textbox.
Default Widget.getZclass(): z-textbox.
| Field Summary |
|---|
| Fields inherited from class zul.inp.InputWidget |
|---|
onChangingDelay, onChangingForced |
| Fields inherited from class zk.Widget |
|---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
| Fields inherited from class zk.Object |
|---|
$class, $oid |
| Method Summary | |
|---|---|
int |
getRows()
Returns the rows. |
String |
getType()
Returns the type. |
boolean |
isMultiline()
Returns whether it is multiline. |
boolean |
isTabbable()
Returns whether TAB is allowed. |
void |
setMultiline(boolean multiline)
Sets whether it is multiline. |
void |
setRows(int rows)
Sets the rows. |
void |
setTabbable(boolean tabbable)
Sets whether TAB is allowed. |
void |
setType(String type)
Sets the type. |
void |
syncWidth()
Synchronizes the input element's width of this component |
| Methods inherited from class zul.inp.InputWidget |
|---|
clearErrorMessage, coerceFromString_, coerceToString_, fireOnChange, getCols, getConstraint, getErrorMesssage, getInplaceCSS, getInputNode, getMaxlength, getName, getTabindex, getText, getValue, inRoundedMold, isDisabled, isInplace, isInstant, isReadonly, select, setCols, setConstraint, setDisabled, setErrorMessage, setInplace, setInstant, setMaxlength, setName, setReadonly, setTabindex, setText, setValue, shallUpdate_, showError_, textAttrs_, updateChange_, validate_ |
| Methods inherited from class zul.Widget |
|---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
| Methods inherited from class zk.Object |
|---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setMultiline(boolean multiline)
multiline - public boolean isMultiline()
Default: false.
isMultiline in class InputWidgetpublic void setTabbable(boolean tabbable)
Default: false.
tabbable - public boolean isTabbable()
Default: false.
public void setRows(int rows)
rows - public int getRows()
Default: 1.
public void setType(String type)
type - the type. Acceptable values are "text" and "password".
Unlike XUL, "timed" is redudant because it is enabled as long as
onChanging is added.public String getType()
Default: text.
getType in class InputWidgetpublic void syncWidth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||