|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fmj.media.renderer.video.DiagnosticVideoRenderer
public class DiagnosticVideoRenderer
This Renderer is used to log process() calls. Useful for diagnosing whether the Renderer is actually being told to process buffers.
Field Summary |
---|
Fields inherited from interface javax.media.PlugIn |
---|
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED |
Constructor Summary | |
---|---|
DiagnosticVideoRenderer()
|
Method Summary | |
---|---|
void |
close()
|
java.lang.Object |
getControl(java.lang.String controlType)
Return the control based on a control type for the PlugIn. |
java.lang.Object[] |
getControls()
Returns an array of supported controls |
java.lang.String |
getName()
|
Format[] |
getSupportedInputFormats()
Lists the possible input formats supported by this plug-in. |
void |
open()
Opens the plugin |
int |
process(Buffer buffer)
Processes the data and renders it to a component |
void |
reset()
Resets the state of the plug-in. |
Format |
setInputFormat(Format format)
Set the data input format. |
void |
start()
Renderer implementation |
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiagnosticVideoRenderer()
Method Detail |
---|
public void start()
start
in interface Renderer
public void stop()
stop
in interface Renderer
public Format[] getSupportedInputFormats()
getSupportedInputFormats
in interface Renderer
public Format setInputFormat(Format format)
setInputFormat
in interface Renderer
public int process(Buffer buffer)
process
in interface Renderer
public java.lang.String getName()
getName
in interface PlugIn
public void open() throws ResourceUnavailableException
open
in interface PlugIn
ResourceUnavailableException
public void reset()
reset
in interface PlugIn
public void close()
close
in interface PlugIn
public java.lang.Object[] getControls()
getControls
in interface Controls
public java.lang.Object getControl(java.lang.String controlType)
getControl
in interface Controls
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |