public class CIMSymbolAnimationColor extends CIMSymbolAnimation
| Constructor and Description |
|---|
CIMSymbolAnimationColor() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(JSONObject jsonObject)
Deserializes this object from its JSON representation.
|
static CIMSymbolAnimationColor |
fromJSON(java.lang.String json)
Creates the object with a specified state from a JSON encoding.
|
AnimationColorMode |
getColorMode()
Gets a value indicating how the color animation is applied.
|
CIMColor |
getToColor()
Gets the color to which the symbol will animate.
|
void |
serialize(JSONObject jsonObject)
Serializes this object to its JSON representation.
|
void |
setColorMode(AnimationColorMode colorMode)
Sets a value indicating how the color animation is applied.
|
void |
setToColor(CIMColor toColor)
Sets the color to which the symbol will animate.
|
java.lang.String |
toJSON()
Creates a JSON encoding of the object and its current state.
|
getAnimatedSymbolProperties, getPrimitiveName, setAnimatedSymbolProperties, setPrimitiveNameArrayFromJSON, JSONFromArraypublic CIMColor getToColor()
public void setToColor(CIMColor toColor)
public AnimationColorMode getColorMode()
public void setColorMode(AnimationColorMode colorMode)
public static CIMSymbolAnimationColor fromJSON(java.lang.String json) throws CIMJSONException
CIMJSONExceptionpublic java.lang.String toJSON()
public void deserialize(JSONObject jsonObject) throws CIMJSONException
deserialize in class CIMSymbolAnimationCIMJSONExceptionpublic void serialize(JSONObject jsonObject)
serialize in class CIMSymbolAnimation