Class RMKeyValueList
java.lang.Object
com.inductiveautomation.rm.graphics.RMKeyValueList
An animation object that keeps track of Key-Values at Key Frame times for a target/key pair.
- 
Constructor SummaryConstructorsConstructorDescriptionRMKeyValueList(Object aTarget, String aKey) Creates a new key value list for given target and key.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddKeyValue(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.getKey()Returns the list key.getKeyValue(int anIndex) Returns the individual key value at given index.intReturns the number of key values.Returns the list target.intgetTime(int anIndex) Returns the individual time at given index.removeKeyValue(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.
- 
Constructor Details- 
RMKeyValueListCreates a new key value list for given target and key.
 
- 
- 
Method Details- 
getTargetReturns the list target.
- 
getKeyReturns the list key.
- 
getKeyValueCountpublic int getKeyValueCount()Returns the number of key values.
- 
getKeyValueReturns the individual key value at given index.
- 
getTimepublic int getTime(int anIndex) Returns the individual time at given index.
- 
addKeyValueAdds a key value and time to key values and times list.
- 
removeKeyValueRemoves the key value and time at given index.
- 
removeKeyValueRemoves 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.
 
-