T
- The type of the data.public abstract class CesiumProperty<T> extends Object
Modifier | Constructor and Description |
---|---|
protected |
CesiumProperty()
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
createGenerators(IContainerCesiumGenerator parent,
CesiumGeneratorContext context,
IServiceProvider owner,
ICesiumPropertyWriter propertyWriter)
Non-typesafe overload.
|
static <T> CesiumProperty<T> |
toCesiumProperty(DateMotionCollection1<T> value)
Converts a
DateMotionCollection1 to a SampledCesiumProperty . |
static <T> CesiumProperty<T> |
toCesiumProperty(T value)
Converts a
T to a ConstantCesiumProperty . |
static <T> CesiumProperty<T> |
toCesiumProperty(TimeIntervalCollection1<T> value)
Converts a
TimeIntervalCollection1 to a TimeIntervalCesiumProperty . |
public static <T> CesiumProperty<T> toCesiumProperty(T value)
T
to a ConstantCesiumProperty
.value
- The value to convert.ConstantCesiumProperty
configured with the given value,
or null
if value
is null
.public static <T> CesiumProperty<T> toCesiumProperty(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 static <T> CesiumProperty<T> toCesiumProperty(DateMotionCollection1<T> value)
DateMotionCollection1
to a SampledCesiumProperty
.value
- The value to convert.SampledCesiumProperty
configured with the given DateMotionCollection1
,
or null
if value
is null
.public final void createGenerators(IContainerCesiumGenerator parent, CesiumGeneratorContext context, IServiceProvider owner, ICesiumPropertyWriter propertyWriter)