Rings
Version 0.3

threeD.raytracer.surfaceUI
Class SurfaceUIFactory.SurfaceUIImpl

java.lang.Object
  extended bythreeD.raytracer.surfaceUI.AbstractSurfaceUI
      extended bythreeD.raytracer.surfaceUI.SurfaceUIFactory.SurfaceUIImpl
All Implemented Interfaces:
Surface, SurfaceUI, SurfaceWrapper
Enclosing class:
SurfaceUIFactory

public static class SurfaceUIFactory.SurfaceUIImpl
extends AbstractSurfaceUI


Field Summary
 
Fields inherited from class threeD.raytracer.surfaceUI.AbstractSurfaceUI
surface
 
Constructor Summary
SurfaceUIFactory.SurfaceUIImpl()
           
SurfaceUIFactory.SurfaceUIImpl(AbstractSurface s, java.lang.String type, java.lang.Class dialog)
           
 
Method Summary
 void draw(java.awt.Graphics g, Camera camera)
          Does nothing.
 Dialog getDialog()
          Returns null.
 java.lang.Class getDialogClass()
           
 java.lang.String getType()
          Returns the name of the type of surface that this SurfaceUI object represents as a String object.
 boolean hasDialog()
          Returns false.
 void setDialogClass(java.lang.Class dialog)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class threeD.raytracer.surfaceUI.AbstractSurfaceUI
getColorAt, getIcon, getName, getNormalAt, getShadeBack, getShadeFront, getSurface, intersect, intersectAt, setName, setParent, setSurface, shade, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SurfaceUIFactory.SurfaceUIImpl

public SurfaceUIFactory.SurfaceUIImpl()

SurfaceUIFactory.SurfaceUIImpl

public SurfaceUIFactory.SurfaceUIImpl(AbstractSurface s,
                                      java.lang.String type,
                                      java.lang.Class dialog)
Method Detail

setType

public void setType(java.lang.String type)

setDialogClass

public void setDialogClass(java.lang.Class dialog)

getDialogClass

public java.lang.Class getDialogClass()

hasDialog

public boolean hasDialog()
Description copied from class: AbstractSurfaceUI
Returns false.

Specified by:
hasDialog in interface SurfaceUI
Overrides:
hasDialog in class AbstractSurfaceUI
See Also:
SurfaceUI.hasDialog()

getDialog

public Dialog getDialog()
Description copied from class: AbstractSurfaceUI
Returns null.

Specified by:
getDialog in interface SurfaceUI
Overrides:
getDialog in class AbstractSurfaceUI

getType

public java.lang.String getType()
Description copied from interface: SurfaceUI
Returns the name of the type of surface that this SurfaceUI object represents as a String object.

See Also:
SurfaceUI.getType()

draw

public void draw(java.awt.Graphics g,
                 Camera camera)
Does nothing. Perhaps someday this will be a useful method...

See Also:
threeD.raytracer.surfaceUI.SurfaceUI#draw(java.awt.Graphics, threeD.raytracer.engine.Camera)

Rings
Version 0.3

Copyright 2003-05 Mike Murray