Java Doc for J3DVideoRenderer.java in  » 6.0-JDK-Modules » java-3d » com » db » media » in » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » com.db.media.in 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.db.media.in.J3DVideoRenderer

J3DVideoRenderer
public class J3DVideoRenderer implements ControllerListener,VideoRenderer(Code)


Field Summary
final public static  booleanDEBUG
    
final public static  intSS
    
 Appearanceapp
    
protected  Rectanglebounds
    
 intbtype
    
 booleanbyRef
    
protected  Componentcomponent
    
 intcount
    
 booleanfirstFrame
    
protected  intinHeight
    
protected  intinWidth
    
protected  RGBFormatinputFormat
    
 intitype
    
protected  BufferlastBuffer
    
protected  ObjectlastData
    
 Processorp
    
protected  RectanglereqBounds
    
protected  booleanstarted
    
 booleanstateTransOK
    
protected  Format[]supportedFormats
    
protected  RGBFormatsupportedRGB
    
 Texture2Dtex
    
 intttype
    
 int[]waitSync
    

Constructor Summary
public  J3DVideoRenderer(String url, Canvas3D canvas3D, Appearance appearance)
    

Method Summary
public synchronized  voidclose()
    
public  voidcontrollerUpdate(ControllerEvent evt)
    
public  java.awt.RectanglegetBounds()
     Returns the region in the component where the video will be rendered to.
public  java.awt.ComponentgetComponent()
     Returns an AWT component that it will render to.
public  ObjectgetControl(String controlType)
     Return the control based on a control type for the PlugIn.
public  Object[]getControls()
    
 intgetInHeight()
    
 intgetInWidth()
    
public  StringgetName()
    
public  Format[]getSupportedInputFormats()
     Lists the possible input formats supported by this plug-in.
public  voidopen()
    
public  intprocess(Buffer buffer)
    
public  voidreset()
     Resets the state of the plug-in.
public  voidsetBounds(java.awt.Rectangle rect)
     Sets the region in the component where the video is to be rendered to.
public  booleansetComponent(java.awt.Component comp)
     Requests the renderer to draw into a specified AWT component.
public  FormatsetInputFormat(Format format)
     Set the data input format.
public  voidstart()
    
public  voidstop()
    
public  booleanwaitForState(int state)
    

Field Detail
DEBUG
final public static boolean DEBUG(Code)



SS
final public static int SS(Code)



app
Appearance app(Code)



bounds
protected Rectangle bounds(Code)



btype
int btype(Code)



byRef
boolean byRef(Code)



component
protected Component component(Code)



count
int count(Code)



firstFrame
boolean firstFrame(Code)



inHeight
protected int inHeight(Code)



inWidth
protected int inWidth(Code)



inputFormat
protected RGBFormat inputFormat(Code)



itype
int itype(Code)



lastBuffer
protected Buffer lastBuffer(Code)



lastData
protected Object lastData(Code)



p
Processor p(Code)
Variables and Constants



reqBounds
protected Rectangle reqBounds(Code)



started
protected boolean started(Code)



stateTransOK
boolean stateTransOK(Code)



supportedFormats
protected Format[] supportedFormats(Code)



supportedRGB
protected RGBFormat supportedRGB(Code)



tex
Texture2D tex(Code)



ttype
int ttype(Code)



waitSync
int[] waitSync(Code)




Constructor Detail
J3DVideoRenderer
public J3DVideoRenderer(String url, Canvas3D canvas3D, Appearance appearance)(Code)
Constructor




Method Detail
close
public synchronized void close()(Code)



controllerUpdate
public void controllerUpdate(ControllerEvent evt)(Code)
Controller implementation



getBounds
public java.awt.Rectangle getBounds()(Code)
Returns the region in the component where the video will be rendered to. Returns null if the entire component is being used.



getComponent
public java.awt.Component getComponent()(Code)
Returns an AWT component that it will render to. Returns null if it is not rendering to an AWT component.



getControl
public Object getControl(String controlType)(Code)
Return the control based on a control type for the PlugIn.



getControls
public Object[] getControls()(Code)
Returns an array of supported controls



getInHeight
int getInHeight()(Code)



getInWidth
int getInWidth()(Code)
Local methods



getName
public String getName()(Code)
PlugIn implementation



getSupportedInputFormats
public Format[] getSupportedInputFormats()(Code)
Lists the possible input formats supported by this plug-in.



open
public void open() throws ResourceUnavailableException(Code)
Opens the plugin



process
public int process(Buffer buffer)(Code)
Processes the data and renders it to a component



reset
public void reset()(Code)
Resets the state of the plug-in. Typically at end of media or when media is repositioned.



setBounds
public void setBounds(java.awt.Rectangle rect)(Code)
Sets the region in the component where the video is to be rendered to. Video is to be scaled if necessary. If rect is null, then the video occupies the entire component.



setComponent
public boolean setComponent(java.awt.Component comp)(Code)
Requests the renderer to draw into a specified AWT component. Returns false if the renderer cannot draw into the specified component.



setInputFormat
public Format setInputFormat(Format format)(Code)
Set the data input format.



start
public void start()(Code)
Renderer implementation



stop
public void stop()(Code)



waitForState
public boolean waitForState(int state)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.