FileDocCategorySizeDatePackage
GraphInspector.javaAPI DocJMF 2.1.1e3049Mon May 12 12:20:50 BST 2003com.sun.media

GraphInspector

public interface GraphInspector
This interface defines the notification callbacks from the media engine during the data flow graph building process. The return value from some of the methods can intervene and affect the graph building process.

Fields Summary
Constructors Summary
Methods Summary
public booleandetailMode()
If this method returns true, the media engine will notify the inspector more frequently with more details.

public booleanverify(javax.media.Codec codec, javax.media.Format input, javax.media.Format output)
This method is notified when the engine has selected the given codec and has successfully attempted to set the given input and output formats on it. If this method returns false, the engine will reject the given codec for use in the final flow graph.

param
codec the selected codec.
param
input the selected input format to the codec.
param
output the selected output format to the codec.
return
false will cause the engine to reject the given codec for use in the final flow graph.

public booleanverify(javax.media.Renderer renderer, javax.media.Format input)
This method is notified when the engine has selected the given renderer and has successfully attempted to set the given input format on it. If this method returns false, the engine will reject the given renderer for use in the final flow graph.

param
renderer the selected renderer.
param
input the selected input format to the renderer.
return
false will cause the engine to reject the given renderer for use in the final flow graph.

public booleanverify(javax.media.Multiplexer mux, javax.media.Format[] inputs)
This method is notified when the engine has selected the given multiplexer and has successfully attempted to set the given input formats on it. If this method returns false, the engine will reject the given multiplexer for use in the final flow graph.

param
multiplexer the selected multiplexer.
param
inputs the selected input formats to the multiplexer.
return
false will cause the engine to reject the given multiplexer for use in the final flow graph.

public voidverifyInputFailed(javax.media.PlugIn plugin, javax.media.Format input)
This method is notified if the engine has attempted and failed to set the given input format on the given plugin.

param
plugin the selected plugin.
param
input the selected input format.

public voidverifyOutputFailed(javax.media.PlugIn plugin, javax.media.Format output)
This method is notified if the engine has attempted and failed to set the given output format on the given plugin.

param
plugin the selected plugin.
param
output the selected output format.