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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeyValue
(RMKeyValue aKeyValue) Adds a new key value.void
addKeyValue
(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.int
compareTo
(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.int
Returns the number of key values.Returns the list of key values.int
getTime()
Returns the time.Returns the timeline that owns this key frame (if present).void
propertyChange
(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.int
removeKeyValue
(RMKeyValue aKVal) Removes a key value.protected void
setTimeline
(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.RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange
Methods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
Constructor Details
-
RMKeyFrame
public RMKeyFrame(int aTime) Creates a new key frame.
-
-
Method Details
-
getTimeline
Returns the timeline that owns this key frame (if present). -
setTimeline
Sets the timeline that owns this key frame (if present). -
getTime
public int getTime()Returns the time. -
getKeyValueCount
public int getKeyValueCount()Returns the number of key values. -
getKeyValue
Returns the individual key value at index. -
getKeyValues
Returns the list of key values. -
addKeyValue
Adds a new key value. -
addKeyValue
Adds a new key value at given index. -
removeKeyValue
Removes a key value at given index. -
removeKeyValue
Removes a key value. -
getKeyValue
Returns the key value for given object and key, if present. -
addKeyValue
Adds a new key value for given target, key and value. -
propertyChange
Implement to catch key value changes and forward to this key frame's property change listeners.- Specified by:
propertyChange
in interfacePropertyChangeListener
-
compareTo
Standard compare implementation.- Specified by:
compareTo
in interfaceComparable<RMKeyFrame>
-
clone
Standard clone method.- Overrides:
clone
in classRMListenerList
-
toString
Standard to string implementation.
-