Interface AlbumBeanListener

All Superinterfaces:
EventListener
All Known Subinterfaces:
UploadListener
All Known Implementing Classes:
AlbumBeanAdapter, DeletePublishedAlbumTask, JAlbumConsole, JProgressDialog, MakeAlbumTask

public interface AlbumBeanListener extends EventListener
Listener interface to be implemented by classes interested in monitoring album generation.
  • Method Details

    • albumMakingStarted

      default void albumMakingStarted(boolean changes)
    • albumMakingDone

      default void albumMakingDone(boolean success)
    • imageProcessingStarted

      default void imageProcessingStarted(AlbumBeanEvent e)
    • imageProcessingFinished

      default void imageProcessingFinished(AlbumBeanEvent e)
    • videoProcessingProgress

      default void videoProcessingProgress(AlbumBeanEvent e, float progress)
    • errorOccured

      default void errorOccured(Throwable t, AlbumObject ao)
    • folderProcessingStarted

      default FolderVisitResult folderProcessingStarted(AlbumObject folder)
    • folderProcessingFinished

      default FolderVisitResult folderProcessingFinished(AlbumObject folder)
    • status

      default void status(String message)
    • warning

      default void warning(String message)
    • requestConfirmation

      default boolean requestConfirmation(String message, Function<Component,Boolean> showDialog)
      Listeners can use this hook to allow user to decide whether album build should commence or not (Used if jAlbum detects potential problems, like lengthy Make all)
      Parameters:
      message -
      showDialog - Open a confirmation dialog on the given window
      Returns:
      true to continue album processing