org.opensourcephysics.display3d.simple3d
Class Group.Loader

java.lang.Object
  extended by org.opensourcephysics.display3d.core.Element.Loader
      extended by org.opensourcephysics.display3d.core.Group.Loader
          extended by org.opensourcephysics.display3d.simple3d.Group.Loader
All Implemented Interfaces:
XML.ObjectLoader
Enclosing class:
Group

protected static class Group.Loader
extends Group.Loader


Constructor Summary
protected Group.Loader()
           
 
Method Summary
 java.lang.Object createObject(XMLControl control)
          Creates an object from data in an XMLControl.
 
Methods inherited from class org.opensourcephysics.display3d.core.Group.Loader
loadObject, saveObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group.Loader

protected Group.Loader()
Method Detail

createObject

public java.lang.Object createObject(XMLControl control)
Description copied from interface: XML.ObjectLoader
Creates an object from data in an XMLControl. The returned object must be castable to the class control.getObjectClass().

Specified by:
createObject in interface XML.ObjectLoader
Specified by:
createObject in class Element.Loader
Parameters:
control - the xml control
Returns:
a new object