org.opensourcephysics.drawing3d.java3d
Class Java3dElementLight

java.lang.Object
  extended by org.opensourcephysics.drawing3d.java3d.Java3dElement
      extended by org.opensourcephysics.drawing3d.java3d.Java3dElementSegment
          extended by org.opensourcephysics.drawing3d.java3d.Java3dElementArrow
              extended by org.opensourcephysics.drawing3d.java3d.Java3dElementLight
All Implemented Interfaces:
ImplementingObject

public class Java3dElementLight
extends Java3dElementArrow

Title: Java3dElementLight

Description: A 3D light in Java3D

Copyright: Open Source Physics project

Version:
April 2010
Author:
Carlos Jara Bravo, Francisco Esquembre

Field Summary
 
Fields inherited from class org.opensourcephysics.drawing3d.java3d.Java3dElement
AFFECTS_TRANSFORM
 
Constructor Summary
Java3dElementLight(ElementLight _element)
           
 
Method Summary
 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.java3d.Java3dElementArrow
isPrimitive
 
Methods inherited from class org.opensourcephysics.drawing3d.java3d.Java3dElement
addToScene, removeFromScene
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java3dElementLight

public Java3dElementLight(ElementLight _element)
Method Detail

processChanges

public void processChanges(int _change,
                           int _cummulativeChange)
Description copied from interface: ImplementingObject
Process changes of the element

Specified by:
processChanges in interface ImplementingObject
Overrides:
processChanges in class Java3dElementArrow
Parameters:
_change - int the changes of this element
_cummulativeChange - int the cumulative changes, i.e. the changes of the element and those inherited from parent groups

styleChanged

public void styleChanged(int _change)
Description copied from interface: ImplementingObject
Applies any change required by a change in style

Specified by:
styleChanged in interface ImplementingObject
Overrides:
styleChanged in class Java3dElementArrow
Parameters:
_change - int indicates the change that took place