Class KeyFramesConfig
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<Integer,StyleDeclarations>
com.inductiveautomation.perspective.common.config.styles.KeyFramesConfig
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Integer,
,StyleDeclarations> NavigableMap<Integer,
,StyleDeclarations> SortedMap<Integer,
StyleDeclarations>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionMakes a new, empty (invalid) keyframe configKeyFramesConfig
(com.inductiveautomation.ignition.common.gson.JsonObject obj, KeyStyle keyStyle) Parses the keyframe config from its json storage format.Makes a deep copy -
Method Summary
Modifier and TypeMethodDescriptioncom.inductiveautomation.ignition.common.gson.JsonObject
asJsonObject
(KeyStyle keyStyle) boolean
isValid()
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Constructor Details
-
KeyFramesConfig
public KeyFramesConfig()Makes a new, empty (invalid) keyframe config -
KeyFramesConfig
Makes a deep copy -
KeyFramesConfig
public KeyFramesConfig(com.inductiveautomation.ignition.common.gson.JsonObject obj, KeyStyle keyStyle) Parses the keyframe config from its json storage format.
-
-
Method Details
-
asJsonObject
-
isValid
public boolean isValid()- Returns:
- true if this keyframe config contains an entry for zero and 100, which are both required for a valid keyframe config.
-