|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.Widget zul.inp.InputWidget zul.inp.FormatWidget zul.db.Timebox
public class Timebox
An input box for holding a time (a Date Object, but only Hour & Minute are used.
Default Widget.getZclass()
: z-timebox.
timebox doens't support customized format. It support HH:mm formate, where HH is hour of day and mm is minute of hour.
Like Combobox
and Datebox
,
the value of a read-only time box (InputWidget.isReadonly()
) can be changed
by clicking the up or down button (though users cannot type anything
in the input box).
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 | |
---|---|
String |
getUnformater()
Returns the unformater. |
boolean |
isButtonVisible()
Returns whether the button (on the right of the textbox) is visible. |
void |
setButtonVisible(boolean buttonVisible)
Sets whether the button (on the right of the textbox) is visible. |
void |
setUnformater(String unf)
Sets the unformater function. |
Methods inherited from class zul.inp.FormatWidget |
---|
getFormat, setFormat |
Methods inherited from class zul.inp.InputWidget |
---|
clearErrorMessage, coerceFromString_, coerceToString_, fireOnChange, getCols, getConstraint, getErrorMessage, getErrorMesssage, getInplaceCSS, getInputNode, getMaxlength, getName, getPlaceholder, getTabindex, getText, getType, getValue, inRoundedMold, isDisabled, isInplace, isInstant, isMultiline, isReadonly, select, setCols, setConstraint, setDisabled, setErrorMessage, setInplace, setInstant, setMaxlength, setName, setPlaceholder, 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 setButtonVisible(boolean buttonVisible)
buttonVisible
- public boolean isButtonVisible()
Default: true.
public String getUnformater()
public void setUnformater(String unf)
unf
- the unformater function
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |