Class RMKeyValueList
- java.lang.Object
- 
- com.inductiveautomation.rm.graphics.RMKeyValueList
 
- 
 public class RMKeyValueList extends java.lang.ObjectAn animation object that keeps track of Key-Values at Key Frame times for a target/key pair.
- 
- 
Constructor SummaryConstructors Constructor Description RMKeyValueList(java.lang.Object aTarget, java.lang.String aKey)Creates a new key value list for given target and key.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddKeyValue(RMKeyValue aKeyValue, int aTime)Adds a key value and time to key values and times list.booleancontainsTime(int aTime)Returns whether key value list contains the given time.java.lang.StringgetKey()Returns the list key.RMKeyValuegetKeyValue(int anIndex)Returns the individual key value at given index.intgetKeyValueCount()Returns the number of key values.java.lang.ObjectgetTarget()Returns the list target.intgetTime(int anIndex)Returns the individual time at given index.RMKeyValueremoveKeyValue(int anIndex)Removes the key value and time at given index.intremoveKeyValue(RMKeyValue aKeyValue)Removes a given key value and its corresponding time.intremoveTime(int aTime)Removes a given time and its corresponding key value.voidsetTime(int aTime, int theLastTime)Sets the time based on key-value-time entries.
 
- 
- 
- 
Method Detail- 
getTargetpublic java.lang.Object getTarget() Returns the list target.
 - 
getKeypublic java.lang.String getKey() Returns the list key.
 - 
getKeyValueCountpublic int getKeyValueCount() Returns the number of key values.
 - 
getKeyValuepublic RMKeyValue getKeyValue(int anIndex) Returns the individual key value at given index.
 - 
getTimepublic int getTime(int anIndex) Returns the individual time at given index.
 - 
addKeyValuepublic void addKeyValue(RMKeyValue aKeyValue, int aTime) Adds a key value and time to key values and times list.
 - 
removeKeyValuepublic RMKeyValue removeKeyValue(int anIndex) Removes the key value and time at given index.
 - 
removeKeyValuepublic int removeKeyValue(RMKeyValue aKeyValue) Removes a given key value and its corresponding time.
 - 
removeTimepublic int removeTime(int aTime) Removes a given time and its corresponding key value.
 - 
containsTimepublic boolean containsTime(int aTime) Returns whether key value list contains the given time.
 - 
setTimepublic void setTime(int aTime, int theLastTime)Sets the time based on key-value-time entries.
 
- 
 
-