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, startprotected 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)
BasicAnimatorsetImpl in class BasicAnimatorinterpolant - A value between 0 and 1.public void stop()
BasicAnimatorAnimator, hasNext will now return falsestop in interface Animatorstop in class BasicAnimatorprotected void updateTargetValues()
protected boolean valuesMeetCriteria(Position centerPos, double zoom)