Class SnapshotsDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, MasterListener

public class SnapshotsDialog extends AbstractProgressDialog implements MasterListener
The dialog displaying information about the update events.
Author:
Zleurtor
See Also:
  • Constructor Details

    • SnapshotsDialog

      public SnapshotsDialog()
      Constructs a new update dialog.
  • Method Details

    • setTotalImages

      public final void setTotalImages(int newTotalImages)
      Sets the number of awaited images.
      Parameters:
      newTotalImages - The new number of awaited images.
    • reset

      public final void reset()
      Reset the progress bar.
    • slavesCleared

      public void slavesCleared()
      Description copied from interface: MasterListener
      The event fired when the slaves list is cleared.
      Specified by:
      slavesCleared in interface MasterListener
    • newSlave

      public void newSlave(MasterEvent evt)
      Description copied from interface: MasterListener
      The event fired when a new slave incame.
      Specified by:
      newSlave in interface MasterListener
      Parameters:
      evt - The event object containing information on the new slave.
    • slaveQuit

      public void slaveQuit(MasterEvent evt)
      Description copied from interface: MasterListener
      The event fired when a new slave has gone.
      Specified by:
      slaveQuit in interface MasterListener
      Parameters:
      evt - The event object containing information on the slave which has gone.
    • snapshotSuccess

      public final void snapshotSuccess(MasterEvent evt)
      Description copied from interface: MasterListener
      The event fired when a snapshot has been successfully processed.
      Specified by:
      snapshotSuccess in interface MasterListener
      Parameters:
      evt - The event object containing information on the slave which processed the snapshot.
    • snapshotError

      public final void snapshotError(MasterEvent evt)
      Description copied from interface: MasterListener
      The event fired when an error occurred during a snapshot process.
      Specified by:
      snapshotError in interface MasterListener
      Parameters:
      evt - The event object containing information on the slave which failed during the snapshot.
    • snapshotsCleared

      public void snapshotsCleared()
      Description copied from interface: MasterListener
      The event fired when the snapshots have been cleared.
      Specified by:
      snapshotsCleared in interface MasterListener
    • streamError

      public void streamError(MasterEvent evt)
      Description copied from interface: MasterListener
      The event fired when an error occurred during a preview process.
      Specified by:
      streamError in interface MasterListener
      Parameters:
      evt - The event object containing information on the slave which failed during the stream process.
    • log

      public void log(MasterEvent evt, org.apache.log4j.lf5.LogLevel level)
      Description copied from interface: MasterListener
      The event fired when a log file content income.
      Specified by:
      log in interface MasterListener
      Parameters:
      evt - The event object containing the slave's log file content.
      level - The slave's log level.
    • logLevelError

      public void logLevelError(MasterEvent evt)
      Description copied from interface: MasterListener
      The event fired when a log level change error income.
      Specified by:
      logLevelError in interface MasterListener
      Parameters:
      evt - The event object containing the slave's log level change error.
    • logLevelSuccess

      public void logLevelSuccess(MasterEvent evt)
      Description copied from interface: MasterListener
      The event fired when a log level change success income.
      Specified by:
      logLevelSuccess in interface MasterListener
      Parameters:
      evt - The event object containing the slave's log level success.
    • options

      public void options(MasterEvent evt)
      Description copied from interface: MasterListener
      The event fired when an options changed income.
      Specified by:
      options in interface MasterListener
      Parameters:
      evt - The event object containing the slave's options.
    • fileSaved

      public void fileSaved(MasterEvent evt)
      Description copied from interface: MasterListener
      The event fired when a file has been saved.
      Specified by:
      fileSaved in interface MasterListener
      Parameters:
      evt - The event object containing the saved file.