Class RMKeyFrame
java.lang.Object
com.inductiveautomation.rm.base.RMListenerList
com.inductiveautomation.rm.base.RMObject
com.inductiveautomation.rm.graphics.RMKeyFrame
- All Implemented Interfaces:
- RMPropertyChanger,- PropertyChangeListener,- Cloneable,- Comparable<RMKeyFrame>,- EventListener
An animation object that holds an object key/value for a given time.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddKeyValue(RMKeyValue aKeyValue) Adds a new key value.voidaddKeyValue(RMKeyValue aKeyValue, int anIndex) Adds a new key value at given index.addKeyValue(Object aTarget, String aKey, Object aValue) Adds a new key value for given target, key and value.clone()Standard clone method.intcompareTo(RMKeyFrame aKeyFrame) Standard compare implementation.getKeyValue(int anIndex) Returns the individual key value at index.getKeyValue(Object aTarget, String aKey) Returns the key value for given object and key, if present.intReturns the number of key values.Returns the list of key values.intgetTime()Returns the time.Returns the timeline that owns this key frame (if present).voidpropertyChange(PropertyChangeEvent anEvent) Implement to catch key value changes and forward to this key frame's property change listeners.removeKeyValue(int anIndex) Removes a key value at given index.intremoveKeyValue(RMKeyValue aKVal) Removes a key value.protected voidsetTimeline(RMTimeline aTimeline) Sets the timeline that owns this key frame (if present).toString()Standard to string implementation.Methods inherited from class com.inductiveautomation.rm.base.RMObjectaddPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChangeMethods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
- 
Constructor Details- 
RMKeyFramepublic RMKeyFrame(int aTime) Creates a new key frame.
 
- 
- 
Method Details- 
getTimelineReturns the timeline that owns this key frame (if present).
- 
setTimelineSets the timeline that owns this key frame (if present).
- 
getTimepublic int getTime()Returns the time.
- 
getKeyValueCountpublic int getKeyValueCount()Returns the number of key values.
- 
getKeyValueReturns the individual key value at index.
- 
getKeyValuesReturns the list of key values.
- 
addKeyValueAdds a new key value.
- 
addKeyValueAdds a new key value at given index.
- 
removeKeyValueRemoves a key value at given index.
- 
removeKeyValueRemoves a key value.
- 
getKeyValueReturns the key value for given object and key, if present.
- 
addKeyValueAdds a new key value for given target, key and value.
- 
propertyChangeImplement to catch key value changes and forward to this key frame's property change listeners.- Specified by:
- propertyChangein interface- PropertyChangeListener
 
- 
compareToStandard compare implementation.- Specified by:
- compareToin interface- Comparable<RMKeyFrame>
 
- 
cloneStandard clone method.- Overrides:
- clonein class- RMListenerList
 
- 
toStringStandard to string implementation.
 
-