|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectj2d.video.producers.WebCameraSource
public class WebCameraSource
User: Douglas Lyon Date: Jun 11, 2008 Time: 7:29:11 AM Copyright DocJava, Inc., 2007
Constructor Summary | |
---|---|
WebCameraSource(int w,
int h,
java.net.URL camUrl)
|
Method Summary | |
---|---|
void |
add(ImageListener il)
Images captured by the camera are sent to the ImageListeners. |
void |
close()
Close the camera source. |
java.awt.Image |
getImage()
used to get the image for asynchronized capture and initialization. |
java.awt.image.BufferedImage |
getWebCamImage()
|
static void |
main(java.lang.String[] args)
|
boolean |
open()
Open the camera source for subsequent use via call-backs. |
void |
update()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebCameraSource(int w, int h, java.net.URL camUrl)
Method Detail |
---|
public void add(ImageListener il)
CameraSource
add
in interface CameraSource
public void update()
public java.awt.image.BufferedImage getWebCamImage()
public boolean open()
CameraSource
open
in interface CameraSource
public void close()
CameraSource
close
in interface CameraSource
public java.awt.Image getImage()
CameraSource
getImage
in interface CameraSource
public static void main(java.lang.String[] args) throws java.net.MalformedURLException
java.net.MalformedURLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |