camera3d.action
Class JPGSaveAction

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

public class JPGSaveAction
extends GUIAction

Action for saving a JPEG image file from the view shown by a given viewport.

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
JPGSaveAction(Viewport viewport, java.lang.String filename)
           
JPGSaveAction(Viewport viewport, java.lang.String filename, int width, int height)
           
 
Method Summary
 void doAction(ActionExecutor executor)
          Performs the action.
 
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

JPGSaveAction

public JPGSaveAction(Viewport viewport,
                     java.lang.String filename)

JPGSaveAction

public JPGSaveAction(Viewport viewport,
                     java.lang.String filename,
                     int width,
                     int height)
Method Detail

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.


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