Package org.openstreetmap.josm.gui
Class SplashScreen.MeasurableTask
java.lang.Object
org.openstreetmap.josm.gui.SplashScreen.Task
org.openstreetmap.josm.gui.SplashScreen.MeasurableTask
- Enclosing class:
- SplashScreen
A single task (of a
ProgressMonitor) which keeps track of its execution duration
(requires a call to finish()).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidfinish()inthashCode()booleanDetermines if this task has been finished.toHtml(StringBuilder sb) Returns a HTML representation for this task.Methods inherited from class org.openstreetmap.josm.gui.SplashScreen.Task
toString
-
Field Details
-
name
-
stopwatch
-
duration
-
-
Constructor Details
-
MeasurableTask
MeasurableTask(String name)
-
-
Method Details
-
finish
-
isFinished
Determines if this task has been finished.- Returns:
trueif this task has been finished
-
toHtml
Description copied from class:SplashScreen.TaskReturns a HTML representation for this task.- Specified by:
toHtmlin classSplashScreen.Task- Parameters:
sb- aStringBuilderused to build the HTML code- Returns:
sb
-
equals
-
hashCode
-