samples.preview_new_graphdraw.test
Class LinearInterpolatingLayout

java.lang.Object
  extended bysamples.preview_new_graphdraw.iter.IterableLayout
      extended bysamples.preview_new_graphdraw.iterablelayouts.InterpolatingIterableLayout
          extended bysamples.preview_new_graphdraw.test.LinearInterpolatingLayout
All Implemented Interfaces:
LayoutEmitter

public class LinearInterpolatingLayout
extends InterpolatingIterableLayout

created Apr 23, 2004

Author:
danyelf

Field Summary
 
Fields inherited from class samples.preview_new_graphdraw.iterablelayouts.InterpolatingIterableLayout
end, numFrames, start
 
Fields inherited from class samples.preview_new_graphdraw.iter.IterableLayout
currentLayout, returnableLayout
 
Constructor Summary
LinearInterpolatingLayout(EmittedLayout endE, int i)
           
 
Method Summary
protected  VisEdge interpolateE(VisEdge startE, VisEdge endE, VisVertex f, VisVertex s, int thisFrame2, int numFrames2)
           
protected  VisVertex interpolateV(VisVertex startV, VisVertex endV, int thisFrame2, int numFrames2)
           
 
Methods inherited from class samples.preview_new_graphdraw.iterablelayouts.InterpolatingIterableLayout
calculate, initializeLocationsFromLayout, isFinite, iterationsAreDone
 
Methods inherited from class samples.preview_new_graphdraw.iter.IterableLayout
advance, emit, getScreenSize, getVisEdge, getVisVertex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearInterpolatingLayout

public LinearInterpolatingLayout(EmittedLayout endE,
                                 int i)
Parameters:
endE -
i -
Method Detail

interpolateV

protected VisVertex interpolateV(VisVertex startV,
                                 VisVertex endV,
                                 int thisFrame2,
                                 int numFrames2)
Specified by:
interpolateV in class InterpolatingIterableLayout
Parameters:
startV -
endV -
thisFrame2 -
numFrames2 -
Returns:

interpolateE

protected VisEdge interpolateE(VisEdge startE,
                               VisEdge endE,
                               VisVertex f,
                               VisVertex s,
                               int thisFrame2,
                               int numFrames2)
Specified by:
interpolateE in class InterpolatingIterableLayout
Parameters:
startE -
endE -
thisFrame2 -
numFrames2 -
Returns: