public class SimpleAnimationLayer.ManageGraphicsTask
extends java.util.TimerTask
Constructor and Description |
---|
SimpleAnimationLayer.ManageGraphicsTask(SimpleAnimationLayer layer) |
Modifier and Type | Method and Description |
---|---|
protected void |
moveRandomly(OMPoint point,
double factor,
Projection proj)
Simple method to move an OMPoint around randomly.
|
protected void |
moveRandomly(OMScalingIcon point,
double factor,
Projection proj)
Simple method to move an OMPoint around randomly.
|
void |
run() |
public SimpleAnimationLayer.ManageGraphicsTask(SimpleAnimationLayer layer)
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
protected void moveRandomly(OMPoint point, double factor, Projection proj)
point
- the OMPoint to move.factor
- a movement factor, in pixels.protected void moveRandomly(OMScalingIcon point, double factor, Projection proj)
point
- the OMPoint to move.factor
- a movement factor, in pixels.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details