Rings
Version 0.3

threeD.raytracer.util
Class EditableFactory

java.lang.Object
  extended bythreeD.raytracer.util.EditableFactory
Direct Known Subclasses:
ShaderFactory, TextureFactory

public abstract class EditableFactory
extends java.lang.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  java.lang.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditableFactory

public EditableFactory()
Method Detail

getTypeNames

public abstract java.lang.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.


Rings
Version 0.3

Copyright 2003-05 Mike Murray