net.sf.j3d.threeD.raytracer.util
Class EditableFactory

java.lang.Object
  extended by 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.


Constructor Summary
EditableFactory()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditableFactory

public EditableFactory()
Method Detail

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.