camera3d.action
Class SetViewportLocationAction

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

public class SetViewportLocationAction
extends GUIAction

Sets whether a given viewport is shown inside/outside the application frame, and also its size and position.

Version:
1.0
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
SetViewportLocationAction(int viewportIndex, boolean internal, int x, int y, 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

SetViewportLocationAction

public SetViewportLocationAction(int viewportIndex,
                                 boolean internal,
                                 int x,
                                 int y,
                                 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.