|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LayerEffect
This interface represents an abstract type which performes
some operations on the BufferedImage.
AbstractLayerEffect,
BufferedImageOpEffect| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds a LayerItemListener to the layer item. |
void |
apply(BufferedImage buf,
Shape clip)
Performes some operations on the passed BufferedImage. |
PropertyChangeListener[] |
getPropertyChangeListeners()
Returns an array of all the PropertyChangeListeners
registered on this LayerItem. |
boolean |
isEnabled()
Indicates if this LayerItem is in active state. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes a PropertyChangeListener from this LayerItem. |
| Method Detail |
|---|
boolean isEnabled()
LayerItem is in active state.
true if this LayerItem is in active statevoid addPropertyChangeListener(PropertyChangeListener l)
LayerItemListener to the layer item.
l - the listener to addPropertyChangeListener[] getPropertyChangeListeners()
PropertyChangeListeners
registered on this LayerItem.
LayerItemListeners
or an empty array if no item listeners are currently registeredvoid removePropertyChangeListener(PropertyChangeListener l)
PropertyChangeListener from this LayerItem.
l - the listener to remove
void apply(BufferedImage buf,
Shape clip)
BufferedImage.
The effect may take into account the passed clip shape
to speed the processing up.
buf - the BufferedImage to be processedclip - the clip shape or null
if the entire BufferedImage must be processed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||