|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maryanovsky.gwtutils.client.ui.Animation
com.maryanovsky.map.client.MapWidget.MapAnimation
public abstract static class MapWidget.MapAnimation
The superclass for map-related animations.
| Constructor Summary | |
|---|---|
MapWidget.MapAnimation(int duration)
Creates a new MapWidget.MapAnimation with the specified duration. |
|
MapWidget.MapAnimation(int duration,
int fps)
Creates a new MapWidget.MapAnimation with the specified duration and
desired frames-per-second. |
|
| Method Summary | |
|---|---|
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. |
void |
beforeTemporaryOffsetChange(PointView newTemporaryOffset)
Invoked when this animation is a MapWidget's current running
animation and the temporary offset is about to be changed. |
| Methods inherited from class com.maryanovsky.gwtutils.client.ui.Animation |
|---|
animationEnd, animationStart, end, getDuration, getFps, getLinearProgress, getSinusoidalProgress, isRunning, nextFrame, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapWidget.MapAnimation(int duration,
int fps)
MapWidget.MapAnimation with the specified duration and
desired frames-per-second.
public MapWidget.MapAnimation(int duration)
MapWidget.MapAnimation with the specified duration.
| Method Detail |
|---|
public void beforeTemporaryOffsetChange(PointView newTemporaryOffset)
MapWidget's current running
animation and the temporary offset is about to be changed. The
default implementation does nothing.
public void beforeMagnificationChange(double magnification,
PointView fixedPoint)
MapWidget's current running
animation and the magnification is about to be changed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||