Interface MCRProgressableListener

All Superinterfaces:
EventListener

public interface MCRProgressableListener extends EventListener
Base interface to listen to MCRProgressable changes.
Author:
Matthias Eichner
  • Method Details

    • onProgressChange

      void onProgressChange(MCRProgressable source, Integer oldProgress, Integer newProgress)
      Is fired when the progress of the MCRProgressable has changed.
      Parameters:
      source - the source MCRProgressable
      oldProgress - the old progress
      newProgress - the new progress
    • onProgressTextChange

      void onProgressTextChange(MCRProgressable source, String oldProgressText, String newProgressText)
      Is fired when the progress text of the MCRProgressable has changed.
      Parameters:
      source - the source MCRProgressable
      oldProgressText - the old progress text
      newProgressText - the new progress text