Class KeyFramesConfig
- java.lang.Object
- 
- java.util.AbstractMap<K,V>
- 
- java.util.TreeMap<java.lang.Integer,StyleDeclarations>
- 
- com.inductiveautomation.perspective.common.config.styles.KeyFramesConfig
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.util.Map<java.lang.Integer,StyleDeclarations>,- java.util.NavigableMap<java.lang.Integer,StyleDeclarations>,- java.util.SortedMap<java.lang.Integer,StyleDeclarations>
 
 public class KeyFramesConfig extends java.util.TreeMap<java.lang.Integer,StyleDeclarations> - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description KeyFramesConfig()Makes a new, empty (invalid) keyframe configKeyFramesConfig(com.inductiveautomation.ignition.common.gson.JsonObject obj, KeyStyle keyStyle)Parses the keyframe config from its json storage format.KeyFramesConfig(KeyFramesConfig copy)Makes a deep copy
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description com.inductiveautomation.ignition.common.gson.JsonObjectasJsonObject(KeyStyle keyStyle)booleanisValid()- 
Methods inherited from class java.util.TreeMapceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
 
- 
 
- 
- 
- 
Constructor Detail- 
KeyFramesConfigpublic KeyFramesConfig() Makes a new, empty (invalid) keyframe config
 - 
KeyFramesConfigpublic KeyFramesConfig(KeyFramesConfig copy) Makes a deep copy
 - 
KeyFramesConfigpublic KeyFramesConfig(com.inductiveautomation.ignition.common.gson.JsonObject obj, KeyStyle keyStyle)Parses the keyframe config from its json storage format.
 
- 
 - 
Method Detail- 
asJsonObjectpublic com.inductiveautomation.ignition.common.gson.JsonObject asJsonObject(KeyStyle keyStyle) 
 - 
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.
 
 
- 
 
-