camera3d.action
Class MeasureDistanceAction

java.lang.Object
  extended bycamera3d.action.VcAction
      extended bycamera3d.action.MeasurerAction
          extended bycamera3d.action.MeasureDistanceAction

public class MeasureDistanceAction
extends MeasurerAction

Action used for performing a measurement.

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
MeasureDistanceAction(DistanceMeasurer measurer)
          Creates new action, given the DistanceMeasurer it will act upon.
 
Method Summary
 void doAction(ActionExecutor executor)
          Causes the DistanceMeasurer to perform a measurement.
 DistanceMeasurer getMeasurer()
           
 void setMeasurer(DistanceMeasurer measurer)
           
 
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

MeasureDistanceAction

public MeasureDistanceAction(DistanceMeasurer measurer)
Creates new action, given the DistanceMeasurer it will act upon.

Method Detail

doAction

public void doAction(ActionExecutor executor)
Causes the DistanceMeasurer to perform a measurement.

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

setMeasurer

public void setMeasurer(DistanceMeasurer measurer)

getMeasurer

public DistanceMeasurer getMeasurer()


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