|
Rings Version 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectthreeD.raytracer.surfaceUI.AbstractSurfaceUI
threeD.raytracer.surfaceUI.SurfaceGroupUI
A SurfaceGroupUI object encapsulates a SurfaceGroup object and can be used and manipulated by the user interface.
| Field Summary |
| Fields inherited from class threeD.raytracer.surfaceUI.AbstractSurfaceUI |
surface |
| Constructor Summary | |
SurfaceGroupUI()
Constructs a SurfaceGroupUI object with no AbstractSurface objects. |
|
SurfaceGroupUI(Surface[] surfaces)
Constructs a SurfaceGroupUI object using the Surface objects in the specified array. |
|
| Method Summary | |
void |
draw(Graphics g,
Camera camera)
Does nothing. |
Dialog |
getDialog()
Returns null. |
String |
getName()
Returns the name of this SurfaceGroupUI object as a String object. |
String |
getType()
Returns "Surface Group". |
boolean |
hasDialog()
Returns false. |
void |
setName(String name)
Sets the name of this SurfaceGroupUI object to the name specified. |
String |
toString()
Returns the name of this SurfaceGroupUI object. |
| Methods inherited from class threeD.raytracer.surfaceUI.AbstractSurfaceUI |
getColorAt, getNormalAt, getShadeBack, getShadeFront, getSurface, intersect, intersectAt, setParent, setSurface, shade |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SurfaceGroupUI()
public SurfaceGroupUI(Surface[] surfaces)
| Method Detail |
public void setName(String name)
setName in interface SurfaceUIsetName in class AbstractSurfaceUIpublic String getName()
getName in interface SurfaceUIgetName in class AbstractSurfaceUIpublic String getType()
public boolean hasDialog()
hasDialog in interface SurfaceUIhasDialog in class AbstractSurfaceUIpublic Dialog getDialog()
getDialog in interface SurfaceUIgetDialog in class AbstractSurfaceUI
public void draw(Graphics g,
Camera camera)
public String toString()
toString in class AbstractSurfaceUI
|
Rings Version 0.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||