|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdata.Rings
public class Rings
radial layout rings
Constructor Summary | |
---|---|
Rings()
rings with color black |
|
Rings(Vector3 color)
rings with given color |
Method Summary | |
---|---|
boolean |
draw(javax.media.opengl.GL gl)
draws an object in OpenGL context |
boolean |
init(javax.media.opengl.GL gl)
initializes the Drawable in OpenGL context |
static void |
setRingNumber(int ringNumber)
defines how many rings are shown |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Rings()
public Rings(Vector3 color)
color
- Method Detail |
---|
public boolean draw(javax.media.opengl.GL gl)
Drawable
draw
in interface Drawable
gl
- GL-context
public boolean init(javax.media.opengl.GL gl)
Drawable
init
in interface Drawable
gl
- gl context
public static void setRingNumber(int ringNumber)
ringNumber
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |