Class X3DOffscreenSurface
java.lang.Object
org.xj3d.ui.awt.offscreen.browser.ogl.X3DOffscreenSurface
- All Implemented Interfaces:
X3DComponent
Swing JPanel implementation that wraps the functionality of a X3D browser
into a convenient, easy to use form for the SAI.
- Version:
- $Revision: 1.4 $
- Author:
- Justin Couch
-
Constructor Summary
ConstructorsConstructorDescriptionX3DOffscreenSurface(BrowserConfig parameters) Create an instance of the panel configured to show or hide the controls and only shows VRML97 content. -
Method Summary
Modifier and TypeMethodDescriptionGet a browser reference from this component that represents the internals of this browser.Get a reference to the component implementation.voidshutdown()Shutdown the component because it will no longer be needed.
-
Constructor Details
-
X3DOffscreenSurface
Create an instance of the panel configured to show or hide the controls and only shows VRML97 content.- Parameters:
parameters- The object containing the browser's configuration parameters
-
-
Method Details
-
getBrowser
Description copied from interface:X3DComponentGet a browser reference from this component that represents the internals of this browser.- Specified by:
getBrowserin interfaceX3DComponent- Returns:
- A reference to the browser object represented by this component.
-
getImplementation
Description copied from interface:X3DComponentGet a reference to the component implementation. For example, if this is an AWT component, it would return an instance ofComponent.- Specified by:
getImplementationin interfaceX3DComponent- Returns:
- a reference to the component implementation
-
shutdown
public void shutdown()Description copied from interface:X3DComponentShutdown the component because it will no longer be needed. If the component has already had this method called, it will silently ignore any further requests.- Specified by:
shutdownin interfaceX3DComponent
-