|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.tools.VideoCaptureTool
A video capture tool. This simply forwards jobs to the media tool if it is available.
Constructor Summary | |
|
VideoCaptureTool()
Public constructor. |
protected |
VideoCaptureTool(boolean ignored)
Protected constructor for subclasses to prevent circular references. |
Method Summary | |
boolean |
addFrame(java.awt.image.BufferedImage image)
Adds a frame to the video if it is recording. |
boolean |
canCapture()
Determines whether this tool is functional. |
boolean |
isVisible()
Gets the visibility. |
void |
send(Job job,
Tool replyTo)
Adds frame specified by image path. |
void |
setVisible(boolean visible)
Sets the visibility. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VideoCaptureTool()
protected VideoCaptureTool(boolean ignored)
ignored
- ignoredMethod Detail |
public boolean addFrame(java.awt.image.BufferedImage image)
image
- the frame to be added
public void setVisible(boolean visible)
visible
- true to set this visiblepublic boolean isVisible()
public boolean canCapture()
public void send(Job job, Tool replyTo) throws java.rmi.RemoteException
send
in interface Tool
job
- the jobreplyTo
- the tool to reply to
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |