|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.sip.ch17.Methane
public class Methane
Methane implements a visualization of the methane molecule (CH_4).
Constructor Summary | |
---|---|
Methane()
Creates a Methane model in the standard position. |
Method Summary | |
---|---|
void |
draw(DrawingPanel panel,
java.awt.Graphics g)
Draws the methane molecule using orthographic projection onto xy plane. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Methane()
Method Detail |
---|
public void draw(DrawingPanel panel, java.awt.Graphics g)
draw
in interface Drawable
panel
- DrawingPanelg
- Graphics
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |