Class FWProgressViewPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, FWProgressTaskListener

public class FWProgressViewPanel extends FWDefaultPanel implements FWProgressTaskListener
Panel that shows the progress of a pipeline run: a task list on the left, the task images (or an animation, or a panel sent with a task event) on the right and a progress bar at the bottom. Without tasks only the animation is shown. It listens to the task events of the pipeline container.
Author:
Andreas Enders, Sebastian Brocks
See Also:
  • Constructor Details

    • FWProgressViewPanel

      public FWProgressViewPanel(FWAbstractFunctionality aFunctionality, FWProgressViewModel aProgressViewModel)
      Parameters:
      aFunctionality - the functionality running the pipeline
      aProgressViewModel - model with the tasks
  • Method Details

    • update

      public void update(FWProgressTaskEvent aEvent)
      Passes the event to progress bar, image panel and task list; an event with source panel shows that panel on the right, the next event without source panel restores the image panel. Without progress bar the animation is stopped at the end of the run.
      Specified by:
      update in interface FWProgressTaskListener
      Parameters:
      aEvent - the task event