jv.anim
Class PsKey
java.lang.Object
|
+--jv.object.PsObject
|
+--jv.anim.PsKey
- All Implemented Interfaces:
- java.lang.Cloneable, PsUpdateIf, java.io.Serializable
- public class PsKey
- extends PsObject
Single frame in a keyframe animation representing a pair (object, time).
- Version:
- 22.06.99, 1.00 revised (kp)
22.06.99, 1.00 created (kp)
- Author:
- Konrad Polthier
- See Also:
PsTimeListenerIf, Serialized Form
|
Field Summary |
protected PgGeometry |
m_object
Object of associated with this key. |
protected double |
m_time
Time of associated object. |
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, m_infoPanel, m_name, m_panelList, m_parent, m_tag, m_updateList, NUM_TAGS |
|
Constructor Summary |
PsKey(double time,
PgGeometry object)
Create a new key at specified time and object. |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_time
protected double m_time
- Time of associated object.
m_object
protected PgGeometry m_object
- Object of associated with this key.
PsKey
public PsKey(double time,
PgGeometry object)
- Create a new key at specified time and object.
- Parameters:
time - time of keyframeobject - geometry of keyframe at time
init
public void init()
- Do nothing but call super.init().
- Overrides:
init in class PsObject
getTime
public double getTime()
- Get time of keyframe.
setTime
public void setTime(double time)
- Set time of keyframe.
getObject
public PgGeometry getObject()
- Get object of keyframe.
setObject
public void setObject(PgGeometry object)
- Set object of keyframe.
The software JavaView® is copyright protected. All Rights Reserved.