|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BrowserFactoryImpl
Implementation of the BrowserFactory
class.
You usually do not use this interface directly - it is used internally
by the BrowserFactory
class. It contains the actual
implementation of the BrowserFactory
and has to be
provided by the developer of the X3D browser you're using.
Method Summary | |
---|---|
VrmlComponent |
createComponent(java.lang.String[] params)
Creates an AWT component that is able to render VRML content. |
Browser |
getBrowser(java.applet.Applet applet)
Creates a new Browser object that allows to communicate with
a X3D browser running as a plugin on a web page. |
Browser |
getBrowser(java.applet.Applet applet,
java.lang.String frameName,
int index)
Creates a new Browser object that allows to communicate with
a X3D browser running as a plugin on a web page. |
Browser |
getBrowser(java.net.InetAddress address,
int port)
Creates a new Browser object that allows to communicate with
a X3D browser instance via network. |
Method Detail |
---|
VrmlComponent createComponent(java.lang.String[] params) throws NotSupportedException
params
- Browser-specific parameters. These are the same parameters
as used for the Browser.loadURL(java.lang.String[], java.lang.String[])
method.
NotSupportedException
- when this way to use the X3D browser via the
EAI is not supported/implemented by the concrete browser you are using.Browser getBrowser(java.applet.Applet applet) throws NotSupportedException, NoSuchBrowserException, ConnectionException
Browser
object that allows to communicate with
a X3D browser running as a plugin on a web page. When there is more
than one plugin on the web page, this method creates a connection to
the first plugin.
applet
- An applet that is running on the same web page as the
X3D browser plugin.
Browser
object.
NotSupportedException
- when this way to use the X3D browser via the
EAI is not supported/implemented by the concrete browser you are using.
NoSuchBrowserException
- when there is no X3D browser plugin
running on the web page.
ConnectionException
- when the connection failed.Browser getBrowser(java.applet.Applet applet, java.lang.String frameName, int index) throws NotSupportedException, NoSuchBrowserException, ConnectionException
Browser
object that allows to communicate with
a X3D browser running as a plugin on a web page.
applet
- An applet that is running on the same web page as the
X3D browser plugin.frameName
- The name of the frame the X3D browser plugin is
running in.index
- The index of the X3D browser plugin on the web page, starting
at 0. This allows to specify which plugin to use when there is more than
one X3D browser plugin on the web page.
Browser
object.
NotSupportedException
- when this way to use the X3D browser via the
EAI is not supported/implemented by the concrete browser you are using.
NoSuchBrowserException
- when there is no X3D browser plugin
running on the web page.
ConnectionException
- when the connection failed.Browser getBrowser(java.net.InetAddress address, int port) throws NotSupportedException, NoSuchBrowserException, java.net.UnknownHostException, ConnectionException
Browser
object that allows to communicate with
a X3D browser instance via network.
address
- The address of the machine the X3D browser is running on.port
- The port number the X3D browser is listening on for connections.
Browser
object.
NotSupportedException
- when this way to use the X3D browser via the
EAI is not supported/implemented by the concrete browser you are using.
NoSuchBrowserException
- when there is no browser running at the
specified address.
java.net.UnknownHostException
- when the address parameter is invalid.
ConnectionException
- when the connection failed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |