T
- The type of value.public class TimeIntervalCesiumProperty<T> extends CesiumProperty<T>
CesiumProperty
that specifies a constant value over multiple distinct intervals of time.
Values are specified using a TimeIntervalCollection1
where the Data
(get
)
property of each interval specifies the value over that interval.Constructor and Description |
---|
TimeIntervalCesiumProperty()
Initializes a new instance.
|
TimeIntervalCesiumProperty(TimeIntervalCollection1<T> intervals)
Initializes a new instance with the provided
TimeIntervalCollection1 . |
Modifier and Type | Method and Description |
---|---|
TimeIntervalCollection1<T> |
getIntervals()
Gets time intervals over which this property is defined.
|
void |
setIntervals(TimeIntervalCollection1<T> value)
Sets time intervals over which this property is defined.
|
static <T> TimeIntervalCesiumProperty<T> |
toTimeIntervalCesiumProperty(TimeIntervalCollection1<T> value)
Converts a
TimeIntervalCollection1 to a TimeIntervalCesiumProperty . |
createGenerators, toCesiumProperty, toCesiumProperty, toCesiumProperty
public TimeIntervalCesiumProperty()
public TimeIntervalCesiumProperty(TimeIntervalCollection1<T> intervals)
TimeIntervalCollection1
.intervals
- The initial collection of intervals.public static <T> TimeIntervalCesiumProperty<T> toTimeIntervalCesiumProperty(TimeIntervalCollection1<T> value)
TimeIntervalCollection1
to a TimeIntervalCesiumProperty
.value
- The value to convert.TimeIntervalCesiumProperty
configured with the given TimeIntervalCollection1
,
or null
if value
is null
.public final TimeIntervalCollection1<T> getIntervals()
Data
(get
) property specifies the value of the property over that
interval.public final void setIntervals(TimeIntervalCollection1<T> value)
Data
(get
) property specifies the value of the property over that
interval.