Xj3D VRML/X3D Code API

org.web3d.browser
Interface BrowserCoreListener

All Known Implementing Classes:
EAIBrowser, OGLBrowserCanvas, SAIBrowser, VRMLBrowserCanvas, VRMLBrowserJPanel, VRMLBrowserJPanel, X3DBrowserJPanel, X3DBrowserJPanel

public interface BrowserCoreListener

A listener for changes in the core of the browser.

Version:
$Revision: 1.3 $
Author:
Justin Couch

Method Summary
 void browserDisposed()
          The browser has been disposed, all resources may be freed.
 void browserInitialized(VRMLScene scene)
          The browser has been initialised with new content.
 void browserShutdown()
          The browser has been shut down and the previous content is no longer valid.
 void urlLoadFailed(java.lang.String msg)
          The tried to load a URL and failed.
 

Method Detail

browserInitialized

public void browserInitialized(VRMLScene scene)
The browser has been initialised with new content. The content given is found in the accompanying scene and description.

Parameters:
scene - The scene of the new content

urlLoadFailed

public void urlLoadFailed(java.lang.String msg)
The tried to load a URL and failed. It is typically because none of the URLs resolved to anything valid or there were network failures.

Parameters:
msg - An error message to go with the failure

browserShutdown

public void browserShutdown()
The browser has been shut down and the previous content is no longer valid.


browserDisposed

public void browserDisposed()
The browser has been disposed, all resources may be freed.


Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium