Class AutoFilter

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

public class AutoFilter extends AbstractFilter
See Also:
  • Constructor Details

    • AutoFilter

      public AutoFilter()
    • AutoFilter

      public AutoFilter(boolean contrast, boolean colors, boolean levels)
    • AutoFilter

      public AutoFilter(boolean enhanceAll)
  • Method Details

    • clone

      public Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class AbstractFilter
      Throws:
      CloneNotSupportedException
    • getName

      public String getName()
    • getIcon

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

      public String getDescription()
    • isEnabled

      public boolean isEnabled()
    • filter

      public BufferedImage filter(BufferedImage bi, Map map)
    • isContrast

      public boolean isContrast()
    • setContrast

      public void setContrast(boolean contrast)
    • isLevels

      public boolean isLevels()
    • setLevels

      public void setLevels(boolean levels)
    • isColors

      public boolean isColors()
    • setColors

      public void setColors(boolean colors)
    • isColorsPossible

      public boolean isColorsPossible()
    • 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