Package be.gaudry.swing.utils
Interface IProcessablePanel
- All Superinterfaces:
IRunnablePanel
- All Known Implementing Classes:
SynchroMainPanel
\n
Provided by the broldev.file.synchro.swing project.
- Since:
- 1.0 (Dec 6, 2011), broldev.core.swing 0.1.18-SNAPSHOT dependency
- Version:
- 1.0 (Dec 6, 2011)
- Author:
- Steph GAUDRY
-
Method Summary
Modifier and TypeMethodDescriptionint
void
Action done after running the process associated to the panelvoid
Action done before starting to run the process associated to the panelvoid
setProgress(int progress, String info)
Allows to display progress informations on the panelMethods inherited from interface be.gaudry.swing.utils.IRunnablePanel
startProcess, stopProcess, toggleStartStopProcess
-
Method Details
-
preProcess
void preProcess()Action done before starting to run the process associated to the panel -
postProcess
void postProcess()Action done after running the process associated to the panel -
setProgress
Allows to display progress informations on the panel- Parameters:
progress
- completeness of the process (usually into a 0 to 100 range)info
- information about the current progress state (usually null if nothing to display, and empty string to clear the progress info)
-
getProgress
int getProgress()- Returns:
- completeness of the process (usually into a 0 to 100 range)
-