com.maryanovsky.map.client
Class MapWidget.MapAnimation
java.lang.Object
com.maryanovsky.gwtutils.client.ui.Animation
com.maryanovsky.map.client.MapWidget.MapAnimation
- Enclosing class:
- MapWidget
public abstract static class MapWidget.MapAnimation
- extends Animation
The superclass for map-related animations.
Methods inherited from class com.maryanovsky.gwtutils.client.ui.Animation |
animationEnd, animationStart, end, getDuration, getFps, getHalfSinusoidalProgress, getLinearProgress, getSinusoidalProgress, isRunning, nextFrame, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapWidget.MapAnimation
public MapWidget.MapAnimation(int duration,
int fps)
- Creates a new
MapWidget.MapAnimation
with the specified duration and
desired frames-per-second.
MapWidget.MapAnimation
public MapWidget.MapAnimation(int duration)
- Creates a new
MapWidget.MapAnimation
with the specified duration.
beforeTemporaryOffsetChange
public void beforeTemporaryOffsetChange(PointView newTemporaryOffset)
- Invoked when this animation is a
MapWidget
's current running
animation and the temporary offset is about to be changed. The
default implementation does nothing.
beforeMagnificationChange
public void beforeMagnificationChange(double magnification,
PointView fixedPoint)
- Invoked when this animation is a
MapWidget
's current running
animation and the magnification is about to be changed.