Class VRMLOGLBrowserFactoryImpl

java.lang.Object
org.xj3d.ui.awt.browser.ogl.VRMLOGLBrowserFactoryImpl
All Implemented Interfaces:
BrowserFactoryImpl

public class VRMLOGLBrowserFactoryImpl extends Object implements BrowserFactoryImpl
An implementation of the EAI BrowserFactoryImpl interface that creates a browser that uses OpenGL for the renderer.

Supported Actions

Currently the factory implementation only supports creating a new component. We do expect to add other support at a later date, such as fetching an existing instance.

Component Creation

This implementation allows you to create a new component that is ready to place content in. Parameters can be supplied and are declared in the form

   param name=param value
 
There should be no whitespace either side of the equals sign.

When creating a new browser component, the following parameters are supported:

Parameter Name String Parameter Value String - Description
Xj3D_InterfaceType awt|swing|swing-lightweight|newt. Indication as to whether the UI should be AWT or SWING based. The SWING option may also use a purely lightweight renderer that does not suffer from the usual heavyweight rendering problems with menus etc. However, if you are not using the OpenGL 2D pipeline in Java 8+, then you're likely to have significant performance loss. If not supplied the default is to use the native windowing toolkit (NEWT) renderer.
Xj3D_NavbarShown true|false. Show or hide the navigation bar on the screen. If not provided, the navigation bar will be shown.
Xj3D_NavbarPosition top|bottom. If the navigation bar is shown, it should be placed at the desired location in the panel. If not provided, the navigation bar will be on the bottom.
Xj3D_LocationShown true|false. Show or hide the panel that describes the current URL and allows the user to enter new URLs. If not provided, the location bar will be shown.
Xj3D_LocationPosition top|bottom. If the URL bar is shown, it should be placed at the desired location in the panel. If not provided, the position will be at the top of the panel.
Xj3D_LocationReadOnly true|false. If the URL bar is shown, you can make it read-only (ie not allow the user to change the URL). If not provided, the bar will be writable.
Xj3D_ShowConsole true|false. Indication as to whether the component should automatically show the console on startup. Default is to hide.
Xj3D_ShowConsole true|false. Indication as to whether the component should automatically show the console on startup. Default is to hide.
Xj3D_OpenButtonShown true|false. Indication as to whether the component should have an Open button to load content. Default is false.
Xj3D_ReloadButtonShown true|false. Indication as to whether the component should have a Reload button to reload content. Default is false.
Xj3D_StatusBarShown true|false. Indication as to whether the component should have StatusBar. Default is false.
Xj3D_FPSShown true|false. Indication as to whether the StatusBar should have a frames-per-second display. Default is false.
Xj3D_ContentDirectory Initial directory to use for locating content. Default is obtained from the System property "user.dir".
Xj3D_AntialiasingQuality "low"|"medium"|"high". Default is "low".
Xj3D_Culling_Mode String "none"|"frustum". OGL Culling mode. Default is "frustum".
Antialiased true|false. Indication as to whether the antialiasing should be enabled. Default is false.
Shading true|false. Indication as to whether the shading should be enabled. Default is false.
PrimitiveQuality "low"|"medium"|"high". Primitive geometry quality. Default is "medium".
TextureQuality "low"|"medium"|"high". Texture quality. Default is "medium".
Version:
$Revision: 1.8 $
Author:
Justin Couch