org.opensourcephysics.drawing3d.java3d
Class Java3dGroup

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

public class Java3dGroup
extends Java3dElement

Title: Group

Description: A Group is an element that is made of other elements.

The group's position, size, visibility and transformation do affect the elements in the group. The group's style doesn't, though.

Copyright: Open Source Physics project

Version:
August 2009 Based on previous work by Glenn Ford
Author:
Carlos Jara Bravo, Francisco Esquembre

Field Summary
 
Fields inherited from class org.opensourcephysics.drawing3d.java3d.Java3dElement
AFFECTS_TRANSFORM
 
Constructor Summary
Java3dGroup(Group _element)
           
 
Method Summary
 boolean isPrimitive()
           
 void processChanges(int _change, int _cummulativeChange)
          Process changes of the element
 
Methods inherited from class org.opensourcephysics.drawing3d.java3d.Java3dElement
addToScene, removeFromScene, styleChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java3dGroup

public Java3dGroup(Group _element)
Method Detail

isPrimitive

public boolean isPrimitive()
Specified by:
isPrimitive in class Java3dElement
Returns:
Returns a boolean which indicates if the 3D object is primitive.

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 Java3dElement
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