public static class KeepingObjectsInView.ViewAnimator extends BasicAnimator
Modifier and Type | Field and Description |
---|---|
protected static double |
ALTITUDE_EPSILON |
protected Position |
centerPosition |
protected boolean |
haveTargets |
protected static double |
LOCATION_EPSILON |
protected OrbitView |
view |
protected KeepingObjectsInView.ViewController |
viewController |
protected double |
zoom |
interpolator
Constructor and Description |
---|
ViewAnimator(double smoothing,
OrbitView view,
KeepingObjectsInView.ViewController viewController) |
Modifier and Type | Method and Description |
---|---|
protected void |
setImpl(double interpolant)
No-op intended to be overrided by deriving classes.
|
void |
stop()
Stops the
Animator , hasNext will now return false |
protected void |
updateTargetValues() |
protected boolean |
valuesMeetCriteria(Position centerPos,
double zoom) |
flagLastStateInvalid, hasNext, isLastStateValid, isStopOnInvalidState, next, set, setStopOnInvalidState, start
protected static final double ALTITUDE_EPSILON
protected Position centerPosition
protected boolean haveTargets
protected static final double LOCATION_EPSILON
protected OrbitView view
protected KeepingObjectsInView.ViewController viewController
protected double zoom
public ViewAnimator(double smoothing, OrbitView view, KeepingObjectsInView.ViewController viewController)
protected void setImpl(double interpolant)
BasicAnimator
setImpl
in class BasicAnimator
interpolant
- A value between 0 and 1.public void stop()
BasicAnimator
Animator
, hasNext
will now return false
stop
in interface Animator
stop
in class BasicAnimator
protected void updateTargetValues()
protected boolean valuesMeetCriteria(Position centerPos, double zoom)