camera3d.action
Class SaveXMLAction

java.lang.Object
  extended bycamera3d.action.VcAction
      extended bycamera3d.action.GUIAction
          extended bycamera3d.action.SaveXMLAction

public class SaveXMLAction
extends GUIAction

Creates an XML file containing the descriptions of objects currently present in the scene graph. That file can be loaded into the application, restoring the working environment.

Author:
Fábio Roberto de Miranda e Carlos da Silva dos Santos

Field Summary
 
Fields inherited from class camera3d.action.VcAction
MULTIPLE_OBJECT_ACTION, SINGLE_OBJECT_ACTION
 
Constructor Summary
SaveXMLAction()
           
SaveXMLAction(java.lang.String filename)
           
 
Method Summary
 void doAction(ActionExecutor executor)
          Performs the action.
 java.lang.String getFilename()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class camera3d.action.VcAction
debugln, getMultiplicityType, isUndoable, setMultiplicityType, undoAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveXMLAction

public SaveXMLAction()

SaveXMLAction

public SaveXMLAction(java.lang.String filename)
Method Detail

getFilename

public java.lang.String getFilename()

doAction

public void doAction(ActionExecutor executor)
Description copied from class: VcAction
Performs the action.

Specified by:
doAction in class VcAction
Parameters:
executor - provides any resource necessary for the action execution, such as references to other objects.

main

public static void main(java.lang.String[] args)


Copyright © 2001-2003 F.R. Miranda, C.S. Santos, J.E. Kogler Jr.. All Rights Reserved.