Represents desired clock settings for a particular
DataSource
. These settings may be applied
to the Clock
when the DataSource is loaded.
成员(属性)
Gets or sets the desired clock range setting.
See
Clock#clockRange
.
Gets or sets the desired clock step setting.
See
Clock#clockStep
.
currentTime : JulianDate
Gets or sets the desired current time when this data source is loaded.
See
Clock#currentTime
.
readonly definitionChanged : Event
Gets the event that is raised whenever a new property is assigned.
Gets or sets the desired clock multiplier.
See
Clock#multiplier
.
Gets or sets the desired start time of the clock.
See
Clock#startTime
.
Gets or sets the desired stop time of the clock.
See
Clock#stopTime
.
方法
clone(result) → DataSourceClock
Duplicates a DataSourceClock instance.
参数名称 | 类型 | 描述信息 |
---|---|---|
result |
DataSourceClock | 可选 The object onto which to store the result. |
返回值:
The modified result parameter or a new instance if one was not provided.
Returns true if this DataSourceClock is equivalent to the other
参数名称 | 类型 | 描述信息 |
---|---|---|
other |
DataSourceClock | The other DataSourceClock to compare to. |
返回值:
true
if the DataSourceClocks are equal; otherwise, false
.
getValue() → Clock
Gets the value of this clock instance as a
Clock
object.
返回值:
The modified result parameter or a new instance if one was not provided.
Assigns each unassigned property on this object to the value
of the same property on the provided source object.
参数名称 | 类型 | 描述信息 |
---|---|---|
source |
DataSourceClock | The object to be merged into this object. |