|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJSci.instruments.ImageFilterAdapter
public abstract class ImageFilterAdapter
An object that filters frames. We only need to override
the filter method
| Constructor Summary | |
|---|---|
ImageFilterAdapter()
|
|
| Method Summary | |
|---|---|
abstract void |
filter(Image f)
defines the operations acutally needed for filtering |
java.awt.Component |
getControlComponent()
|
java.awt.Component |
getFilterControlComponent()
defines the Component that controls this filter |
int |
getHeight()
|
java.lang.String |
getName()
defines the name of the filter |
java.awt.Dimension |
getSize()
|
int |
getWidth()
|
void |
receive(Image f)
This method is called by the ImageSource to send a Image |
void |
setSink(ImageSink fs)
set the object that must read the frames through receive() method. |
void |
setSource(ImageSource fs)
set the object that sends the Images. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageFilterAdapter()
| Method Detail |
|---|
public void setSink(ImageSink fs)
ImageSource
setSink in interface ImageSourcefs - the object that reads the framespublic void setSource(ImageSource fs)
ImageSinkImages.
setSource in interface ImageSinkfs - the object that sends the framespublic void receive(Image f)
ImageSink
receive in interface ImageSinkf - the new frame that must be displayedpublic java.awt.Component getControlComponent()
getControlComponent in interface Controlpublic int getWidth()
getWidth in interface Dimensionspublic int getHeight()
getHeight in interface Dimensionspublic java.awt.Dimension getSize()
getSize in interface Dimensionspublic java.awt.Component getFilterControlComponent()
public abstract void filter(Image f)
public java.lang.String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||