Interface FilterManagerFriend

All Known Implementing Classes:
JEditPanel

public interface FilterManagerFriend
This interface has to be implemented by the class which will handle the FilterManager as the FilterManager will pass some requests to the implementing class which it can not handle on it own.
See Also:
  • Method Details

    • scaleImage

      BufferedImage scaleImage(BufferedImage bi)
      used by the FilterManager to request a scaled down version of the passed image according to settings made by the user in the settings menu.
      Parameters:
      bi - the image to be scaled down. By the time this method is called, all prescale filters added to the image will be applied.
      Returns:
      the scaled down buffered image
    • filterMenuClosed

      void filterMenuClosed(BufferedImage bi, boolean saveBeforeClose)
      used by the FilterManager to reset the interface and return to the standard menu with will show the most recent version of the current image.
      Parameters:
      bi - the current image with all the filters applied to it
      saveBeforeClose - wheter to save any work that has been done before closing or not.
    • setImage

      void setImage(BufferedImage bi)
    • getImageComponent

      JComponent getImageComponent()