Java Doc for J3DBuffer.java in  » 6.0-JDK-Modules » java-3d » javax » media » j3d » 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 » javax.media.j3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.J3DBuffer

J3DBuffer
public class J3DBuffer (Code)
Java 3D wrapper class for java.nio.Buffer objects. When used to wrap a non-null NIO buffer object, this class will create a read-only view of the wrapped NIO buffer, and will call rewind on the read-only view, so that elements 0 through buffer.limit()-1 will be available internally.
See Also:   GeometryArray.setCoordRefBuffer(J3DBuffer)
See Also:   GeometryArray.setColorRefBuffer(J3DBuffer)
See Also:   GeometryArray.setNormalRefBuffer(J3DBuffer)
See Also:   GeometryArray.setTexCoordRefBuffer(intJ3DBuffer)
See Also:   GeometryArray.setVertexAttrRefBuffer(intJ3DBuffer)
See Also:   GeometryArray.setInterleavedVertexBuffer(J3DBuffer)
See Also:   CompressedGeometry.CompressedGeometry(CompressedGeometryHeaderJ3DBuffer)
since:
   Java 3D 1.3


Field Summary
final static  intTYPE_BYTE
    
final static  intTYPE_CHAR
    
final static  intTYPE_DOUBLE
    
final static  intTYPE_FLOAT
    
final static  intTYPE_INT
    
final static  intTYPE_LONG
    
final static  intTYPE_NULL
    
final static  intTYPE_SHORT
    
final static  intTYPE_UNKNOWN
    
static  booleanunsupportedOperation
    

Constructor Summary
public  J3DBuffer()
     Constructs a J3DBuffer object and initializes it with a null NIO buffer object.
public  J3DBuffer(java.nio.Buffer buffer)
     Constructs a J3DBuffer object and initializes it with the specified NIO buffer object.

Method Summary
public  java.nio.BuffergetBuffer()
     Retrieves the NIO buffer object from this J3DBuffer.
 BufferWrappergetBufferImpl()
    
 intgetBufferType()
    
public  voidsetBuffer(java.nio.Buffer buffer)
     Sets the NIO buffer object in this J3DBuffer to the specified object.

Field Detail
TYPE_BYTE
final static int TYPE_BYTE(Code)



TYPE_CHAR
final static int TYPE_CHAR(Code)



TYPE_DOUBLE
final static int TYPE_DOUBLE(Code)



TYPE_FLOAT
final static int TYPE_FLOAT(Code)



TYPE_INT
final static int TYPE_INT(Code)



TYPE_LONG
final static int TYPE_LONG(Code)



TYPE_NULL
final static int TYPE_NULL(Code)



TYPE_SHORT
final static int TYPE_SHORT(Code)



TYPE_UNKNOWN
final static int TYPE_UNKNOWN(Code)



unsupportedOperation
static boolean unsupportedOperation(Code)




Constructor Detail
J3DBuffer
public J3DBuffer()(Code)
Constructs a J3DBuffer object and initializes it with a null NIO buffer object. The NIO buffer object must be set to a non-null value before using this J3DBuffer object in a Java 3D node component.
exception:
  UnsupportedOperationException - if the JVM does notsupport native access to direct NIO buffers



J3DBuffer
public J3DBuffer(java.nio.Buffer buffer)(Code)
Constructs a J3DBuffer object and initializes it with the specified NIO buffer object.
Parameters:
  buffer - the NIO buffer wrapped by this J3DBuffer
exception:
  UnsupportedOperationException - if the JVM does notsupport native access to direct NIO buffers
exception:
  IllegalArgumentException - if the specified buffer isnot a direct buffer, or if the byte order of the specifiedbuffer does not match the native byte order of the underlyingplatform.




Method Detail
getBuffer
public java.nio.Buffer getBuffer()(Code)
Retrieves the NIO buffer object from this J3DBuffer. the current NIO buffer wrapped by this J3DBuffer



getBufferImpl
BufferWrapper getBufferImpl()(Code)



getBufferType
int getBufferType()(Code)



setBuffer
public void setBuffer(java.nio.Buffer buffer)(Code)
Sets the NIO buffer object in this J3DBuffer to the specified object.
Parameters:
  buffer - the NIO buffer wrapped by this J3DBuffer
exception:
  IllegalArgumentException - if the specified buffer isnot a direct buffer, or if the byte order of the specifiedbuffer does not match the native byte order of the underlyingplatform.



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.