net.sf.j3d.threeD.raytracer.util
Class EditableFactory
java.lang.Object
net.sf.j3d.threeD.raytracer.util.EditableFactory
- Direct Known Subclasses:
- ShaderFactory, TextureFactory
public abstract class EditableFactory
- extends Object
EditableFactory is the parent class for classes that can be used to construct Editable objects
of some type.
|
Method Summary |
abstract Editable |
constructObject(int index)
Constructs an Editable object of the type specified by the integer index. |
abstract String[] |
getTypeNames()
Returns an array of String objects containing names for each type of Editable object
this EditableFactory implementation can construct. |
EditableFactory
public EditableFactory()
getTypeNames
public abstract String[] getTypeNames()
- Returns an array of String objects containing names for each type of Editable object
this EditableFactory implementation can construct. The names must be in the array
in the same order as the object indices they represent. This method must be implemented
by classes that extend EditableFactory.
constructObject
public abstract Editable constructObject(int index)
- Constructs an Editable object of the type specified by the integer index.
This method must be implemented by classes that extend EditableFactory.