|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcs567.particles.Particle
public class Particle
Simple particle implementation, with miscellaneous adornments.
| Field Summary | |
|---|---|
static double |
PARTICLE_RADIUS
Radius of particle's circle graphic. |
| Method Summary | |
|---|---|
void |
display(javax.media.opengl.GL gl)
Draws circular particle using a display list. |
boolean |
getHighlight()
True if particle should be drawn highlighted. |
boolean |
isPinned()
Returns true if currently pinned. |
void |
setHighlight(boolean highlight)
Specifies whether particle should be drawn highlighted. |
void |
setPin(boolean fix)
Specifies whether or not this particle is fixed in space via a pin constraint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double PARTICLE_RADIUS
| Method Detail |
|---|
public void display(javax.media.opengl.GL gl)
public void setHighlight(boolean highlight)
public boolean getHighlight()
public void setPin(boolean fix)
public boolean isPinned()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||