Package net.jalbum.filters.auto
Class AutoFilter
java.lang.Object
net.jalbum.filters.AbstractFilter
net.jalbum.filters.auto.AutoFilter
- All Implemented Interfaces:
Serializable
,Cloneable
,HasUserInterface
,JAlbumFilter
,JAFilter
- See Also:
-
Field Summary
Fields inherited from class net.jalbum.filters.AbstractFilter
changeSupport, closeups, thumbnails
Fields inherited from interface se.datadosen.jalbum.JAFilter
ALL_POSTSCALE_STAGE, ALL_PRESCALE_STAGE, CLOSEUPS_POSTSCALE_STAGE, FOLDERS_POSTSCALE_STAGE, FOLDERS_PRESCALE_STAGE, THUMBNAILS_POSTSCALE_STAGE, THUMBNAILS_PRESCALE_STAGE
-
Constructor Summary
ConstructorDescriptionAutoFilter
(boolean enhanceAll) AutoFilter
(boolean contrast, boolean colors, boolean levels) -
Method Summary
Modifier and TypeMethodDescriptionclone()
filter
(BufferedImage bi, Map map) getIcon()
getName()
boolean
isColors()
boolean
boolean
boolean
boolean
isLevels()
void
setColors
(boolean colors) void
setContrast
(boolean contrast) void
setLevels
(boolean levels) Return (create if needed) the user interface for this instance (not called getUserInterface to avoid xml serialization)Methods inherited from class net.jalbum.filters.AbstractFilter
addPropertyChangeListener, addPropertyChangeListener, getTemplate, isCloseups, isThumbnails, removePropertyChangeListener, removePropertyChangeListener, setAsTemplate, setCloseups, setThumbnails
-
Constructor Details
-
AutoFilter
public AutoFilter() -
AutoFilter
public AutoFilter(boolean contrast, boolean colors, boolean levels) -
AutoFilter
public AutoFilter(boolean enhanceAll)
-
-
Method Details
-
clone
- Overrides:
clone
in classAbstractFilter
- Throws:
CloneNotSupportedException
-
getName
-
getIcon
- Specified by:
getIcon
in interfaceJAlbumFilter
- Overrides:
getIcon
in classAbstractFilter
-
getDescription
-
isEnabled
public boolean isEnabled() -
filter
-
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
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
-