Package net.jalbum.filters
Class GrayscaleFilter
java.lang.Object
net.jalbum.filters.AbstractFilter
net.jalbum.filters.GrayscaleFilter
- 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
-
Method Summary
Modifier and TypeMethodDescriptionfilter
(BufferedImage bi, Map vars) getIcon()
getName()
boolean
void
setEnabled
(boolean enabled) 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, clone, getTemplate, isCloseups, isThumbnails, removePropertyChangeListener, removePropertyChangeListener, setAsTemplate, setCloseups, setThumbnails
-
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
-
getIcon
- Specified by:
getIcon
in interfaceJAlbumFilter
- Overrides:
getIcon
in classAbstractFilter
-
getDescription
-
filter
-
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
-