Class GrayscaleFilter

java.lang.Object
net.jalbum.filters.AbstractFilter
net.jalbum.filters.GrayscaleFilter
All Implemented Interfaces:
Serializable, Cloneable, HasUserInterface, JAlbumFilter, JAFilter

public class GrayscaleFilter extends AbstractFilter
See Also:
  • Constructor Details

    • GrayscaleFilter

      public GrayscaleFilter()
    • GrayscaleFilter

      public GrayscaleFilter(boolean enabled, boolean closeups, boolean thumbnails)
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getName

      public String getName()
    • getIcon

      public ImageIcon getIcon()
      Specified by:
      getIcon in interface JAlbumFilter
      Overrides:
      getIcon in class AbstractFilter
    • getDescription

      public String getDescription()
    • filter

      public BufferedImage filter(BufferedImage bi, Map vars)
    • userInterface

      public JComponent userInterface()
      Description copied from interface: HasUserInterface
      Return (create if needed) the user interface for this instance (not called getUserInterface to avoid xml serialization)
      Returns:
      the user interface bound to this instance