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