|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Xj3DBrowser
Extension Xj3D-specific browser methods.
Only external browsers are able to make use of this interface.
| Field Summary | |
|---|---|
static int |
RENDER_FLAT
The rendering style uses flat shading mode |
static int |
RENDER_LINES
The rendering style uses wireframe mode |
static int |
RENDER_POINTS
The rendering style uses point mode |
static int |
RENDER_SHADED
The rendering style uses a generic shading model |
| Method Summary | |
|---|---|
void |
addStatusListener(Xj3DStatusListener l)
Add a listener for status messages. |
Xj3DCADView |
getCADView()
Fetch the copontent-specific interface for managing a CAD scene. |
int |
getMinimumFrameInterval()
Get the currently set minimum frame cycle interval. |
Xj3DNavigationUIManager |
getNavigationManager()
Fetch the interface that allows an external application to implement their own navigation user interface. |
int |
getRenderingStyle()
Get the currently set rendering style. |
void |
removeStatusListener(Xj3DStatusListener l)
Remove a listener for status messages. |
void |
setErrorReporter(Xj3DErrorReporter reporter)
Set the handler for error messages. |
void |
setMinimumFrameInterval(int millis)
Set the minimum frame interval time to limit the CPU resources taken up by the 3D renderer. |
void |
setRenderingStyle(int style)
Change the rendering style that the browser should currently be using. |
| Methods inherited from interface org.web3d.x3d.sai.ExternalBrowser |
|---|
addBrowserListener, beginUpdate, dispose, endUpdate, pauseRender, removeBrowserListener, startRender, stopRender |
| Methods inherited from interface org.web3d.x3d.sai.Browser |
|---|
createScene, createX3DFromStream, createX3DFromString, createX3DFromURL, firstViewpoint, firstViewpoint, getBrowserProperties, getComponent, getCurrentFrameRate, getCurrentSpeed, getDescription, getExecutionContext, getName, getProfile, getRenderingProperties, getSupportedComponents, getSupportedProfiles, getVersion, importDocument, lastViewpoint, lastViewpoint, loadURL, nextViewpoint, nextViewpoint, previousViewpoint, previousViewpoint, print, println, replaceWorld, setDescription |
| Field Detail |
|---|
static final int RENDER_POINTS
static final int RENDER_LINES
static final int RENDER_FLAT
static final int RENDER_SHADED
| Method Detail |
|---|
void setMinimumFrameInterval(int millis)
throws InvalidBrowserException
millis - The minimum time in milleseconds.
InvalidBrowserException - The dispose method has been called on
this browser reference.
int getMinimumFrameInterval()
throws InvalidBrowserException
InvalidBrowserException - The dispose method has been called on
this browser reference.
void setRenderingStyle(int style)
throws java.lang.IllegalArgumentException,
InvalidBrowserException
style - One of the RENDER_* constants
java.lang.IllegalArgumentException - A style constant that is not recognized
by the implementation was provided
InvalidBrowserException - The dispose method has been called on
this browser reference.
int getRenderingStyle()
throws InvalidBrowserException
InvalidBrowserException - The dispose method has been called on
this browser reference.
void setErrorReporter(Xj3DErrorReporter reporter)
throws InvalidBrowserException
reporter - The error reporter instance to use
InvalidBrowserException - The dispose method has been called on
this browser reference.
void addStatusListener(Xj3DStatusListener l)
throws InvalidBrowserException
l - The listener instance to add
InvalidBrowserException - The dispose method has been called on
this browser reference.
void removeStatusListener(Xj3DStatusListener l)
throws InvalidBrowserException
l - The listener instance to remove
InvalidBrowserException - The dispose method has been called on
this browser reference.
Xj3DNavigationUIManager getNavigationManager()
throws InvalidBrowserException
InvalidBrowserException - The dispose method has been called on
this browser reference.
Xj3DCADView getCADView()
throws InvalidBrowserException
InvalidBrowserException - The dispose method has been called on
this browser reference.
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||