Classes
AddedRemovedEvent
AlertElement
AnchorContainerElement
ArrowShape
ButtonElement
CanvasElement
CanvasManager
CheckboxElement
CheckboxSkinElement
CollectionChangedEvent
CollectionSort
ColorPickerButtonElement
ColorPickerElement
ContainerBaseElement
CursorDefinition
DataGridColumnDefinition
DataGridDataRenderer
DataGridElement
DataGridHeaderColumnDividerSkinElement
DataGridHeaderElement
DataGridHeaderItemRenderer
DataGridItemData
DataGridItemRendererBase
DataGridLabelItemRenderer
DataListData
DataListElement
DataRendererBaseElement
DataRendererLabelElement
DatePickerButtonElement
DatePickerElement
DispatcherEvent
DrawMetrics
DropdownArrowButtonSkinElement
DropdownBaseElement
DropdownElement
ElementEvent
ElementGridItemClickEvent
ElementKeyboardEvent
ElementListItemClickEvent
ElementMouseEvent
ElementMouseWheelEvent
EllipseShape
EventDispatcher
FillBase
GridContainerElement
GridContainerRowColumnDefinition
ImageElement
IpInputElement
LabelElement
LinearGradientFill
ListCollection
ListContainerElement
ProgressElement
RadioButtonElement
RadioButtonSkinElement
RoundedRectangleShape
ScrollBarElement
ScrollButtonSkinElement
ShapeBase
SkinnableElement
SolidFill
StyleableBase
StyleChangedEvent
StyleData
StyleDefinition
StyleProxy
TextAreaElement
TextElement
TextFieldElement
TextInputElement
TimeInputElement
ToggleButtonElement
ToggleButtonGroup
Tween
ViewportElement


TimeInputElement

TimeInputElement is an editable time field.
Note that TimeInput supports both 12 and 24 hour time, but does not supply AM/PM.

Inheritance:     TimeInputElement ➞ TextInputElementSkinnableElementCanvasElementStyleableBaseStyleDefinitionEventDispatcher ➞ Object

Styles
Show Inherited
Style Defined By
Is24HourTime     :    boolean TimeInputElement
Defaults to true, valid hours are 0-23.
When false, valid hours are 1-12. (AM / PM not supplied by this control)
 


Events
Show Inherited
Event Defined By
hourswrapped     :    DispatcherEvent TimeInputElement
Dispatched when hours are wrapped due to clock change.
This is useful to detect date or AM/PM changes due to the clock updating.
 


Public Functions
Show Inherited
Function Defined By
TimeInputElement() [Constructor] TimeInputElement
Creates new TimeInputElement instance.
 
getHour() TimeInputElement
Gets the hours currently displayed.
  returns     :    int
Hour currently displayed.
 
getMinutes() TimeInputElement
Gets the minutes currently displayed.
  returns     :    int
Minute currently displayed.
 
getSeconds() TimeInputElement
Gets the seconds currently displayed.
  returns     :    int
Seconds currently displayed.
 
getText() [Override] TimeInputElement
Gets the time string currently displayed.
  returns     :    String
Time currently displayed, formatted as "HH:MM:SS"
 
setHours(hour) TimeInputElement
Sets the hours to be displayed.
Range is 0-23 when "Is24HourTime" style is true, otherwise 1-12
Will wrap hours when out of range.
  hour     :    int
Hour to be displayed.
 
setMinutes(minute) TimeInputElement
Sets the minutes to be displayed. Range is 0-59.
Will wrap minutes and update hours when out of range.
  minute     :    int
Minute to be displayed.
 
setSeconds(second) TimeInputElement
Sets the seconds to be displayed. Range is 0-59.
Will wrap seconds and update minutes when out of range.
  second     :    int
Seconds to be displayed.
 
setText(text) [Override] TimeInputElement
Sets time to be displayed.
  text     :    String
Time to be displayed. Expected format is "hour:minute:second".
 


Internal Members
Show Inherited


Internal Functions
Show Inherited
Function Defined By
_onTimeInputEnterFrame(event) TimeInputElement
Event handler for "enterframe" event. Updates the time displayed via clock.
  event     :    DispatcherEvent
DispatcherEvent to be processed.
 
_onTimeInputTextFieldFocusOut(elementEvent) TimeInputElement
Event handler for the internal TextField's "focusout" event.
  elementEvent     :    ElementEvent
ElementEvent to process.
 
_onTimeInputTextFieldMouseDown(mouseEvent) TimeInputElement
Event handler for the internal TextField's "mousedown" event.
  mouseEvent     :    ElementMouseEvent
ElementMouseEvent to process.
 
_setHoursInternal(hour, isClock) TimeInputElement
Sets the hours to be displayed, ignored if set by clock when user has hour field focused.
Range is 0-23 when "Is24HourTime" style is true, otherwise 1-12
  hour     :    int
Hours to be displayed.
  isClock     :    boolean
True when this is called via clock change.
 
_setMinutesInternal(minute, isClock) TimeInputElement
Sets the minutes to be displayed, ignored if set by clock when user has minutes field focused.
  minute     :    int
Minutes to be displayed.
  isClock     :    boolean
True when this is called via clock change.
 
_setSecondsInternal(second, isClock) TimeInputElement
Sets the seconds to be displayed, ignored if set by clock when user has seconds field focused.
  second     :    int
Seconds to be displayed.
  isClock     :    boolean
True when this is called via clock change.