Package org.openstreetmap.josm.gui
Class NavigatableComponent.SmoothScrollThread
- java.lang.Object
-
- java.lang.Thread
-
- org.openstreetmap.josm.gui.NavigatableComponent.SmoothScrollThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- NavigatableComponent
private class NavigatableComponent.SmoothScrollThread extends Thread
Thread class for smooth scrolling. Made a separate class, so we can safely terminate it.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
doStop
private EastNorth
finalNewCenter
private long
frames
private EastNorth
oldCenter
private long
sleepTime
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description SmoothScrollThread(EastNorth newCenter, long frameNum, int fps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
void
stopIt()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
SmoothScrollThread
SmoothScrollThread(EastNorth newCenter, long frameNum, int fps)
-
-