Interface IProcessablePanel

All Superinterfaces:
IRunnablePanel
All Known Implementing Classes:
SynchroMainPanel

public interface IProcessablePanel extends IRunnablePanel
\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 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

      void setProgress(int progress, String info)
      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)