Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.xerox.VTM.engine
Class GTranslation  view GTranslation download GTranslation.java

java.lang.Object
  extended bycom.xerox.VTM.engine.GAnimation
      extended bycom.xerox.VTM.engine.GTranslation
Direct Known Subclasses:
GTranslationPRR

class GTranslation
extends GAnimation

glyph animation: translation (X,Y)


Field Summary
(package private)  long duration
          animation will last duration ms
(package private)  java.util.Date now
          current time
(package private)  AnimManager parent
          animation manager
(package private)  double progression
          how much of the animation has been done
(package private)  boolean started
          has it started
(package private)  long startTime
          animation began at this time
(package private)  int step
           
(package private)  LongPoint[] steps
          step values for (x,y) coords
(package private)  com.xerox.VTM.glyphs.Glyph target
          glyph to be animated
(package private)  java.lang.String type
          type of animation - one of AnimManager.{GL_TRANS, GL_SZ, GL_ROT, GL_COLOR, GL_CTRL}
 
Constructor Summary
(package private) GTranslation(com.xerox.VTM.glyphs.Glyph g, AnimManager mgr, long d)
           
 
Method Summary
(package private)  boolean animate()
           
protected  void conclude()
           
(package private)  void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

steps

LongPoint[] steps
step values for (x,y) coords


target

com.xerox.VTM.glyphs.Glyph target
glyph to be animated


now

java.util.Date now
current time


startTime

long startTime
animation began at this time


duration

long duration
animation will last duration ms


progression

double progression
how much of the animation has been done


started

boolean started
has it started


step

int step

parent

AnimManager parent
animation manager


type

java.lang.String type
type of animation - one of AnimManager.{GL_TRANS, GL_SZ, GL_ROT, GL_COLOR, GL_CTRL}

Constructor Detail

GTranslation

GTranslation(com.xerox.VTM.glyphs.Glyph g,
             AnimManager mgr,
             long d)
Method Detail

start

void start()
Specified by:
start in class GAnimation

animate

boolean animate()
Specified by:
animate in class GAnimation

conclude

protected void conclude()
Specified by:
conclude in class GAnimation