All Packages Class Hierarchy This Package Previous Next Index
Class collage.vrml.VRMLFactory
java.lang.Object
|
+----openstar.generic.ParamSet
|
+----openstar.generic.Factory
|
+----collage.generic.DisplayFactory
|
+----collage.vrml.VRMLFactory
- public class VRMLFactory
- extends DisplayFactory
VRML display factory class.
This factory generates objects of class VRMLDisplay
.
Required parameters:
None.
Optional parameters:
filename
Type: String
Defines the filename base (without extension) for the
generated VRML files. The actual file names will also
contain an index number and the extension .wrl
.
viewer
Type: String
Defines the name (and parameters) of the external VRML viewer
program. The filename of the VRML file is appended to this
string to form the actual command that is being executed.
-
FILENAME
-
-
VIEWER
-
-
VRMLFactory()
-
-
create()
- Creates a new display instance.
-
missingParams()
- Returns an array of strings that contain the names
of missing parameters, or
null
if no parameters
are missing.
-
newParam(String, Object)
-
Implements the support for testing the "name" parameter.
FILENAME
protected final String FILENAME
VIEWER
protected final String VIEWER
VRMLFactory
public VRMLFactory()
newParam
public int newParam(String name,
Object value)
- Implements the support for testing the "name" parameter.
- Overrides:
- newParam in class DisplayFactory
missingParams
public String[] missingParams()
- Returns an array of strings that contain the names
of missing parameters, or
null
if no parameters
are missing.
- Overrides:
- missingParams in class Factory
create
public Object create()
- Creates a new display instance.
- Overrides:
- create in class DisplayFactory
All Packages Class Hierarchy This Package Previous Next Index