|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.instruments.TestImageSource
public class TestImageSource
An object that delivers sample frames
Field Summary | |
---|---|
(package private) java.awt.Dimension |
dim
|
Constructor Summary | |
---|---|
TestImageSource()
|
Method Summary | |
---|---|
java.awt.Component |
getControlComponent()
|
int |
getHeight()
|
java.awt.Dimension |
getSize()
|
int |
getWidth()
|
void |
run()
|
void |
setSink(ImageSink fs)
set the object that must read the frames through receive() method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.awt.Dimension dim
Constructor Detail |
---|
public TestImageSource()
Method Detail |
---|
public void setSink(ImageSink fs)
setSink
in interface ImageSource
fs
- the object that reads the framespublic void run()
run
in interface java.lang.Runnable
public int getWidth()
getWidth
in interface Dimensions
public int getHeight()
getHeight
in interface Dimensions
public java.awt.Dimension getSize()
getSize
in interface Dimensions
public java.awt.Component getControlComponent()
getControlComponent
in interface Control
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |