|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.drawing3d.simple3d.SimpleElement org.opensourcephysics.drawing3d.simple3d.SimpleElementPoints
public class SimpleElementPoints
Title: SimpleElementPoints
Description: A group of points using the Painter's algorithm
Field Summary |
---|
Fields inherited from class org.opensourcephysics.drawing3d.simple3d.SimpleElement |
---|
FORCE_RECOMPUTE |
Constructor Summary | |
---|---|
SimpleElementPoints(ElementPoints _element)
|
Method Summary | |
---|---|
void |
draw(java.awt.Graphics2D _g2,
int _index)
Draws a given Object3D (indicated by its index). |
void |
drawQuickly(java.awt.Graphics2D _g2)
Sketches the drawable |
void |
processChanges(int _change,
int _cummulativeChange)
Process changes of the element |
void |
styleChanged(int _change)
Applies any change required by a change in style |
Methods inherited from class org.opensourcephysics.drawing3d.simple3d.SimpleElement |
---|
addToScene, getObjects3D, removeFromScene |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleElementPoints(ElementPoints _element)
Method Detail |
---|
public void processChanges(int _change, int _cummulativeChange)
ImplementingObject
processChanges
in interface ImplementingObject
processChanges
in class SimpleElement
_change
- int the changes of this element_cummulativeChange
- int the cumulative changes, i.e. the
changes of the element and those inherited from parent groupspublic void styleChanged(int _change)
ImplementingObject
styleChanged
in interface ImplementingObject
styleChanged
in class SimpleElement
_change
- int indicates the change that took placepublic void draw(java.awt.Graphics2D _g2, int _index)
SimpleElement
public void drawQuickly(java.awt.Graphics2D _g2)
SimpleElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |