24hour property explicitly.| Constructor Summary | |
|---|---|
| void | The instance initializer. |
| Method Summary | |
|---|---|
| int | Returns STATEVALID if this time picker is not required or if it is required and its value is not
null, otherwise returns STATEINVALID. |
| Date | Returns a date with the time of day set to the value of this time picker. |
| int | getHours() Returns the hour (0-23) of the time value of this time picker. |
| int | Returns the millisecond (0-999) of the time value of this time picker. |
| int | Returns the minute (0-60) of the time value of this time picker. |
| int | Returns the second (0-60) of the time value of this time picker. |
| int | Returns whether this time picker shows the millisecond input field. |
| int | Returns whether this time picker shows the second input field. |
| String | getValue() Returns the value of this time picker as a formatted string matching the appearance of the control. |
| int | is24Hour() Returns whether this time picker displays with a 24-hour clock. |
| String | paint() |
| jsx3.gui.TimePicker | Sets whether this time picker uses a 24-hour clock. |
| void | Sets the value of this time picker in local time. |
| jsx3.gui.TimePicker | setFontSize(intPixelSize : int) Sets the CSS font-size for the object;
returns reference to self to facilitate method chaining; |
| void | Sets the hour value of this time picker. |
| void | setMilliseconds(intMillis : int) Sets the millisecond value of this time picker. |
| void | setMinutes(intMinutes : int) Sets the minute value of this time picker. |
| void | setSeconds(intSeconds : int) Sets the second value of this time picker. |
| jsx3.gui.TimePicker | setShowMillis(bShow : boolean) Sets whether this time picker shows the millisecond input field. |
| jsx3.gui.TimePicker | setShowSeconds(bShow : boolean) Sets whether this time picker shows the second input field. |
| jsx3.gui.TimePicker | Sets the value of this time picker in local time. |
| Methods Inherited From jsx3.gui.Form |
|---|
| doKeyBinding, doReset, getDisabledBackgroundColor, getDisabledColor, getEnabled, getKeyBinding, getRequired, getValidationState, setDisabledBackgroundColor, setDisabledColor, setEnabled, setKeyBinding, setRequired, setValidationState |
| Methods Inherited From jsx3.gui.Interactive |
|---|
| doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy |
| Methods Inherited From jsx3.gui.Painted |
|---|
| focus, getAbsolutePosition, getAttribute, getAttributes, getRendered, insertHTML, onAfterPaint, onAfterRestoreView, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute |
| Methods Inherited From jsx3.util.EventDispatcher |
|---|
| publish, subscribe, unsubscribe, unsubscribeAll |
| Methods Inherited From jsx3.lang.Object |
|---|
| clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf |
| Constructor Detail |
|---|
| Method Detail |
|---|
STATEVALID if this time picker is not required or if it is required and its value is not
null, otherwise returns STATEINVALID.objDate parameter with the time of day set in local time or, if objDate is not provided,
it returns a new date (the current day) with the time of day set.showSeconds are true.null to use the locale default value.