|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensourcephysics.drawing3d.simple3d.SimpleElement
public abstract class SimpleElement
Title: SimpleElement
Description: Defines methods required by the painter's algorithm drawing scheme.
Field Summary | |
---|---|
static int |
FORCE_RECOMPUTE
Any of these changes forces a recomputation of the SimpleElement |
Method Summary | |
---|---|
void |
addToScene()
Efectively adds the element to the 3D scene. |
org.opensourcephysics.drawing3d.simple3d.Object3D[] |
getObjects3D()
Returns an array of Objects3D to sort according to its distance to the eye. |
abstract void |
processChanges(int _change,
int _cummulativeChange)
Process changes of the element |
void |
removeFromScene()
Efectively removes the element from the 3D scene. |
void |
styleChanged(int _change)
Applies any change required by a change in style |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FORCE_RECOMPUTE
Method Detail |
---|
public final void addToScene()
ImplementingObject
addToScene
in interface ImplementingObject
public final void removeFromScene()
ImplementingObject
removeFromScene
in interface ImplementingObject
public abstract void processChanges(int _change, int _cummulativeChange)
ImplementingObject
processChanges
in interface ImplementingObject
_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
_change
- int indicates the change that took placepublic org.opensourcephysics.drawing3d.simple3d.Object3D[] getObjects3D()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |