org.opensourcephysics.display3d.simple3d
Class Camera.CameraLoader

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

protected static class Camera.CameraLoader
extends Camera.Loader


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

Constructor Detail

Camera.CameraLoader

protected Camera.CameraLoader()
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 Camera.Loader
Parameters:
control - the xml control
Returns:
a new object