Skip to main content
Jump to: navigation, search

Scout/Concepts/TimeField


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitterG+
Bugzilla
Bugzilla


Specific type of value field to represent Time.

  • extends: C obj.pngAbstractTimeField

Description

This is a convenience subclass of DateField with HasDate: false and HasTime: true

Among the different types of data supported by scout, the TimeField is made to represent Time. Time is stored in a Java Date Object (Between 1970-01-01 00:00:00.000 and 1970-01-01 23:59:59.999).

Note.png
TODO
Picker for the user


The DateUtility class provides methods to convert this value to a double in the interval [0.0, 1.0[ or to combine the time represented in the Date with a Date without any time. For legacy reason, the Field also provide convenience method to get and set the time as Double:

  • getTimeAsDouble()
  • setTimeAsDouble(double)


Screenshot

RAP SWT Swing Swing Rayo
Scout 3.8 TimeField RAP.png Scout 3.8 TimeField SWT.png Scout 3.8 TimeField Swing.png Scout 3.8 TimeField Swing Rayo.png

Properties

Defined with getConfiguredXxxxxx() methods.

See also the Field and the Value field pages for the properties that all fields have in common.


Events

Defined with execXxxxxx() methods.

See also the Field and the Value field pages for the events that all fields have in common.


See Also

Back to the top