|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectthreeD.raytracer.surfaceUI.SurfaceUIFactory
The SurfaceUIFactory class provides static methods for creating SurfaceUI instances.
| Nested Class Summary | |
static class |
SurfaceUIFactory.SurfaceUIImpl
|
| Method Summary | |
static AbstractSurfaceUI |
createSurfaceUI(AbstractSurface s)
|
static AbstractSurfaceUI |
createSurfaceUI(int nameIndex)
Creates a new Surface implementation of the type given by the specified index into the array returned by the getSurfaceTypeNames method. |
static java.lang.String[] |
getSurfaceTypeNames()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static AbstractSurfaceUI createSurfaceUI(AbstractSurface s)
s - AbstractSurface object to wrap.
public static AbstractSurfaceUI createSurfaceUI(int nameIndex)
nameIndex - Index into array given by getSurfaceTypeNames that corresponds to the Surface object to construct.
public static java.lang.String[] getSurfaceTypeNames()
|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||