Class KeyFramesConfig

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.inductiveautomation.ignition.common.gson.JsonObject asJsonObject​(KeyStyle keyStyle)  
      boolean isValid()  
      • Methods inherited from class java.util.TreeMap

        ceilingEntry, 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
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, isEmpty, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
    • Constructor Detail

      • KeyFramesConfig

        public KeyFramesConfig()
        Makes a new, empty (invalid) keyframe config
      • KeyFramesConfig

        public KeyFramesConfig​(KeyFramesConfig copy)
        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 Detail

      • asJsonObject

        public com.inductiveautomation.ignition.common.gson.JsonObject asJsonObject​(KeyStyle keyStyle)
      • 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.