com.micello.mapapi.render
Class PanOp

java.lang.Object
  extended by com.micello.mapapi.render.AnimationOp
      extended by com.micello.mapapi.render.PanOp

public class PanOp
extends AnimationOp

This is a test implementation of an AnimationOp.


Constructor Summary
PanOp(float deltaX, float deltaY, MapViewRegion viewRegion)
           
 
Method Summary
 void execute(com.micello.mapapi.render.MapRenderer mapRenderer)
          This method is called rigth before a rendering pass to allow the animation update.
 int getStepTimeMsec()
          This returns a rest tiem between iterations of the operation.
 boolean isCompleted()
          This method returns true after the animation completes.
 
Methods inherited from class com.micello.mapapi.render.AnimationOp
doTileCopy, doTileSave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanOp

public PanOp(float deltaX,
             float deltaY,
             MapViewRegion viewRegion)
Method Detail

getStepTimeMsec

public int getStepTimeMsec()
Description copied from class: AnimationOp
This returns a rest tiem between iterations of the operation. It should be 0 for redraws as fast as possible.

Specified by:
getStepTimeMsec in class AnimationOp

isCompleted

public boolean isCompleted()
Description copied from class: AnimationOp
This method returns true after the animation completes.

Specified by:
isCompleted in class AnimationOp

execute

public void execute(com.micello.mapapi.render.MapRenderer mapRenderer)
Description copied from class: AnimationOp
This method is called rigth before a rendering pass to allow the animation update.

Specified by:
execute in class AnimationOp