camera3d.action
Class ViewChangeAction

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

public class ViewChangeAction
extends GUIAction


Field Summary
 
Fields inherited from class camera3d.action.VcAction
MULTIPLE_OBJECT_ACTION, SINGLE_OBJECT_ACTION
 
Constructor Summary
ViewChangeAction(java.lang.String viewportName, java.lang.String viewName)
           
ViewChangeAction(Viewport viewport, VcView view)
           
 
Method Summary
 void doAction(ActionExecutor executor)
          Performs the action.
 VcView getVcView()
           
 java.lang.String getViewName()
           
 Viewport getViewport()
           
 java.lang.String getViewportName()
           
 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

ViewChangeAction

public ViewChangeAction(java.lang.String viewportName,
                        java.lang.String viewName)

ViewChangeAction

public ViewChangeAction(Viewport viewport,
                        VcView view)
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.

getViewName

public java.lang.String getViewName()

getViewportName

public java.lang.String getViewportName()

getViewport

public Viewport getViewport()

getVcView

public VcView getVcView()


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