camera3d.action
Class FieldOfViewAction

java.lang.Object
  extended bycamera3d.action.VcAction
      extended bycamera3d.action.VcViewAction
          extended bycamera3d.action.FieldOfViewAction

public class FieldOfViewAction
extends VcViewAction

Action for changing the field of view parameter of a given VcView.

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
FieldOfViewAction(VcView view, double value)
           
 
Method Summary
 void doAction(ActionExecutor executor)
          Performs the action.
 void undoAction(ActionExecutor executor)
          Undoes the action.
 
Methods inherited from class camera3d.action.VcAction
debugln, getMultiplicityType, isUndoable, setMultiplicityType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldOfViewAction

public FieldOfViewAction(VcView view,
                         double value)
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.

undoAction

public void undoAction(ActionExecutor executor)
Description copied from class: VcAction
Undoes the action.

Overrides:
undoAction 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.