camera3d.action
Class TXTSaveAction

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

public class TXTSaveAction
extends GUIAction

Action that creates a text file with description of objects currently present in the scene graph.

Version:
1.0
Author:
Fábio Roberto de Miranda

Field Summary
 
Fields inherited from class camera3d.action.VcAction
MULTIPLE_OBJECT_ACTION, SINGLE_OBJECT_ACTION
 
Constructor Summary
TXTSaveAction(java.lang.String filename)
          Creates action.
 
Method Summary
 void doAction(ActionExecutor executor)
          Creates text file.
 
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

TXTSaveAction

public TXTSaveAction(java.lang.String filename)
Creates action.

Parameters:
filename - Name of file to be saved.
Method Detail

doAction

public void doAction(ActionExecutor executor)
Creates text file. Descriptions of objects are retrieved by calling the VcObject.getInfo() method.

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


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