Package net.jalbum.filterManager
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 Summary
Modifier and TypeMethodDescriptionvoid
filterMenuClosed
(BufferedImage bi, boolean saveBeforeClose) used by theFilterManager
to reset the interface and return to the standard menu with will show the most recent version of the current image.used by theFilterManager
to request a scaled down version of the passed image according to settings made by the user in the settings menu.void
-
Method Details
-
scaleImage
used by theFilterManager
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
used by theFilterManager
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 itsaveBeforeClose
- wheter to save any work that has been done before closing or not.
-
setImage
-
getImageComponent
JComponent getImageComponent()
-