Timebox
From Documentation
Timebox
- Demonstration: Date and Time
- Java API: Timebox
- JavaScript API: Timebox
- Style Guide: Timebox
Employment/Purpose
An edit box for holding a time (a java.util.Date Object) , but only Hour & Minute are used.
Example
<window title="Simple" width="300px" border="normal">
<timebox id="tb0"/>
</window>
Date format
The timebox now supports new date formats, for example you can now use a to signify it is am or pm. The input string follows the formatting of the SimpleDateFormat.
Below is an example of using a within the format.
<zk>
<window title="Test">
<timebox cols="20" format="a hh:mm:ss"/>
</window>
</zk>
[Since 5.0.0]
Inherited Functions
Please refer to FormatInputElement for inherited functions.
Supported Events
None | None |
- Inherited Supported Events: FormatInputElement
Supported Molds
Available molds of a component are defined in lang.xml embedded in zul.jar.
[Since 5.0.0] |
Supported Children
*NONE
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|