Interface X3DComponent


public interface X3DComponent
Abstract node interface, defined by X3D Java Scene Access Interface (SAI) Specification to support X3D Java interoperability.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).

Provides for implementation of a X3D player than runs as a component and able to extract a Browser reference from it.

Generally this is used to provide a definition of an AWT component with a VRML/X3D display capability. There is no reason why this can not be used for other browser representations such as off-screen renderers or file savers.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get a browser reference from this component that represents the internals of this browser.
    Get a reference to the component implementation.
    void
    Shutdown the component because it will no longer be needed.
  • Method Details

    • getBrowser

      ExternalBrowser getBrowser()
      Get a browser reference from this component that represents the internals of this browser.
      Returns:
      A reference to the browser object represented by this component.
    • getImplementation

      Object getImplementation()
      Get a reference to the component implementation. For example, if this is an AWT component, it would return an instance of Component.
      Returns:
      a reference to the component implementation
    • shutdown

      void shutdown()
      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.