1. Overview
An application root has one or more panel collections and provides control over how the entire application works. These functions also include managing the range of the t axis displayed on the application, and event control. When you redraw the application root (using the redraw method), the entire application is redrawn recursively.
2. Creating an Object
Constructor
HuTime()
No arguments.
3. Key Properties and Methods
The HuTime root has a collection of information and operations for an entire HuTime application.
Properties
- id
- Type: String
- Default value: null
- The ID for uniquely identifying the application root.
- name
- Type: String
- Default value: null
- The name of the application root.
- mouseTimeOut
- Type: Number
- Default value: 300
- Specifies the time to wait before redrawing starts after the mouse operation stops (in milliseconds). A too small value results in frequent redrawing, leading to slowed-down performance of the application.
- minT
- Type: Number
- Default value: 0
- Reflected: After redrawing
- The lower limit of the displayed range for the t axis on the HuTime application.
- maxT
- Type: Number
- Default value: 200
- Reflected: After redrawing
- The upper limit of the displayed range for the t axis on the HuTime application.
- currentMinT
- Type: Number
- Default value: 0
- Read only
- The lower limit of the displayed range for the t axis after the last time the HuTime application was redrawn.
- currentMaxT
- Type: Number
- Default value: 200
- Read only
- The upper limit of the displayed range for the t axis after the last time the HuTime application was redrawn.
- minTLimit
- Type: Number
- Default value: Number.NEGATIVE_INFINITY
- The lower limit of the t axis viewable in the HuTime application. When a value is specified, the displayed range cannot go below it.
- maxTLimit
- Type: Number
- Default value: Number.POSITIVE_INFINITY
- The upper limit of the t axis viewable in the HuTime application. When a value is specified, the displayed range cannot go above it.
Methods
redraw([minT, maxT])
Redraws the layers. When you omit the arguments, they are redrawn with the current displayed range maintained. The panel collections belonging to the redrawn application root are all redrawn recursively.
- Return value
- None
- minT
- Type: Number
- The lower limit of the new t axis after redrawing.
- maxT
- Type: Number
- The upper limit of the new t axis after redrawing.