public class CIMAnimatedSymbolProperties extends CIMObject
| Constructor and Description |
|---|
CIMAnimatedSymbolProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMAnimatedSymbolProperties |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
double |
getDuration()
Gets how many seconds it takes to play through the symbol's animation once.
|
AnimatedSymbolEasingType |
getEasing()
Gets the animation's easing.
|
double |
getEndingDuration()
Gets the ending duration of a symbol for time-aware data interpolation.
|
boolean |
getPlayAnimation()
Gets a value indicating whether the animated symbol should play its animation.
|
java.lang.String |
getPrimitiveName()
Gets the primitive name.
|
long |
getRandomizeStartSeed()
Gets the starting value for generating a random number.
|
boolean |
getRandomizeStartTime()
Gets a value indicating whether to generate a randomized start offset in seconds to apply to the symbol animation of each feature.
|
double |
getRepeatDelay()
Gets the number of seconds to delay before repeating an animation cycle.
|
AnimatedSymbolRepeatType |
getRepeatType()
Gets how to repeat the animation of a symbol when an animation cycle ends.
|
boolean |
getReverseAnimation()
Gets a value indicating whether the animated symbol should playback in reverse.
|
double |
getStartTimeOffset()
Gets the time offset in seconds to use as the starting point of the symbol animation.
|
boolean |
getUseEndingDuration()
Gets a value indicating whether to use the ending duration of a symbol for time-aware data interpolation.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setDuration(double duration)
Sets how many seconds it takes to play through the symbol's animation once.
|
void |
setEasing(AnimatedSymbolEasingType easing)
Sets the animation's easing.
|
void |
setEndingDuration(double endingDuration)
Sets the ending duration of a symbol for time-aware data interpolation.
|
void |
setPlayAnimation(boolean playAnimation)
Sets a value indicating whether the animated symbol should play its animation.
|
void |
setPrimitiveName(java.lang.String primitiveName)
Sets the primitive name.
|
void |
setRandomizeStartSeed(long randomizeStartSeed)
Sets the starting value for generating a random number.
|
void |
setRandomizeStartTime(boolean randomizeStartTime)
Sets a value indicating whether to generate a randomized start offset in seconds to apply to the symbol animation of each feature.
|
void |
setRepeatDelay(double repeatDelay)
Sets the number of seconds to delay before repeating an animation cycle.
|
void |
setRepeatType(AnimatedSymbolRepeatType repeatType)
Sets how to repeat the animation of a symbol when an animation cycle ends.
|
void |
setReverseAnimation(boolean reverseAnimation)
Sets a value indicating whether the animated symbol should playback in reverse.
|
void |
setStartTimeOffset(double startTimeOffset)
Sets the time offset in seconds to use as the starting point of the symbol animation.
|
void |
setUseEndingDuration(boolean useEndingDuration)
Sets a value indicating whether to use the ending duration of a symbol for time-aware data interpolation.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
public boolean getPlayAnimation()
public void setPlayAnimation(boolean playAnimation)
public boolean getReverseAnimation()
public void setReverseAnimation(boolean reverseAnimation)
public boolean getRandomizeStartTime()
public void setRandomizeStartTime(boolean randomizeStartTime)
public long getRandomizeStartSeed()
public void setRandomizeStartSeed(long randomizeStartSeed)
public double getStartTimeOffset()
public void setStartTimeOffset(double startTimeOffset)
public double getDuration()
public void setDuration(double duration)
public double getEndingDuration()
public void setEndingDuration(double endingDuration)
public boolean getUseEndingDuration()
public void setUseEndingDuration(boolean useEndingDuration)
public AnimatedSymbolRepeatType getRepeatType()
public void setRepeatType(AnimatedSymbolRepeatType repeatType)
public double getRepeatDelay()
public void setRepeatDelay(double repeatDelay)
public java.lang.String getPrimitiveName()
public void setPrimitiveName(java.lang.String primitiveName)
public AnimatedSymbolEasingType getEasing()
public void setEasing(AnimatedSymbolEasingType easing)
public static CIMAnimatedSymbolProperties fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMObjectCIMJSONExceptionpublic void serialize(JSONObject jsonObject)