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 SummaryNested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> 
- 
Constructor SummaryConstructorsConstructorDescriptionMakes 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 SummaryModifier and TypeMethodDescriptioncom.inductiveautomation.ignition.common.gson.JsonObjectasJsonObject(KeyStyle keyStyle) booleanisValid()Methods inherited from class java.util.TreeMapceilingEntry, 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, valuesMethods inherited from class java.util.AbstractMapequals, hashCode, isEmpty, toString
- 
Constructor Details- 
KeyFramesConfigpublic KeyFramesConfig()Makes a new, empty (invalid) keyframe config
- 
KeyFramesConfigMakes a deep copy
- 
KeyFramesConfigpublic KeyFramesConfig(com.inductiveautomation.ignition.common.gson.JsonObject obj, KeyStyle keyStyle) Parses the keyframe config from its json storage format.
 
- 
- 
Method Details- 
asJsonObject
- 
isValidpublic boolean isValid()- Returns:
- true if this keyframe config contains an entry for zero and 100, which are both required for a valid keyframe config.
 
 
-