Xj3D 2.0 VRML/X3D Code API

org.xj3d.ui.awt.browser.ogl
Class X3DOffscreenSurface

java.lang.Object
  extended by org.xj3d.ui.awt.browser.ogl.X3DOffscreenSurface
All Implemented Interfaces:
X3DComponent

public class X3DOffscreenSurface
extends java.lang.Object
implements 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
X3DOffscreenSurface(BrowserConfig parameters)
          Create an instance of the panel configured to show or hide the controls and only shows VRML97 content.
 
Method Summary
 ExternalBrowser getBrowser()
          Get a browser reference from this component that represents the internals of this browser.
 java.lang.Object getImplementation()
          Get a reference to the component implementation.
 void shutdown()
          Shutdown the component because it will no longer be needed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X3DOffscreenSurface

public X3DOffscreenSurface(BrowserConfig parameters)
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 Detail

getBrowser

public ExternalBrowser getBrowser()
Description copied from interface: X3DComponent
Get a browser reference from this component that represents the internals of this browser.

Specified by:
getBrowser in interface X3DComponent
Returns:
A reference to the browser object represented by this component.
See Also:
X3DComponent.getBrowser()

getImplementation

public java.lang.Object getImplementation()
Description copied from interface: X3DComponent
Get a reference to the component implementation. For example, if this is an AWT component, it would return an instance of Component.

Specified by:
getImplementation in interface X3DComponent
See Also:
X3DComponent.getImplementation()

shutdown

public void shutdown()
Description copied from interface: X3DComponent
Shutdown 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:
shutdown in interface X3DComponent
See Also:
X3DComponent.shutdown()

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium