leon.view.filters
Class LyImageFilter
java.lang.Object
leon.view.filters.LyImageFilter
- Direct Known Subclasses:
- LyDisableImageFilter, LyEmbossImageFilter, LyGrayImageFilter, LyReplaceColorImageFilter
public abstract class LyImageFilter
- extends java.lang.Object
This class is used to create filtered images. This class is abstract since it does not represent
a real filter. It gives only useful static methods to create and manipulate images. Each type of
filter must inherits this class and implements its own filtering algorithm in a method.
Field Summary |
static java.lang.String |
__VERSION
|
Constructor Summary |
LyImageFilter()
Constructor with no parameter. |
Method Summary |
static void |
clearCache()
Clears the images cache. |
static void |
putCache(java.lang.String key,
java.awt.Image image)
Adds the specified pair (key-image) to the images cache. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
LyImageFilter
public LyImageFilter()
- Constructor with no parameter. Simply calls the
init()
method.
clearCache
public static void clearCache()
- Clears the images cache.
- See Also:
putCache(String,Image)
putCache
public static void putCache(java.lang.String key,
java.awt.Image image)
- Adds the specified pair (key-image) to the images cache.
- Parameters:
key
- The key used to register the filtered image. This key must be unique for a given
image and a given filter.image
- The filtered image that must be registered.- See Also:
clearCache()
Website: W4 S.A., contact us: support@w4global.com