JavaView® v2.12

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

Fields inherited from class jv.object.PsObject
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS
 
Constructor Summary
PsKey(double time, PgGeometry object)
          Create a new key at specified time and object.
 
Method Summary
 PgGeometry getObject()
          Get object of keyframe.
 double getTime()
          Get time of keyframe.
 void init()
          Do nothing but call super.init().
 void setObject(PgGeometry object)
          Set object of keyframe.
 void setTime(double time)
          Set time of keyframe.
 
Methods inherited from class jv.object.PsObject
addInspector, addUpdateListener, assureInspector, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PsKey

public PsKey(double time,
             PgGeometry object)
Create a new key at specified time and object.
Parameters:
time - time of keyframe
object - geometry of keyframe at time
Method Detail

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.

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.