operations
Class OpFindIntersectionAS

java.lang.Object
  |
  +--operations.Operation
        |
        +--operations.OpFindIntersection
              |
              +--operations.OpFindIntersectionAS

public class OpFindIntersectionAS
extends OpFindIntersection


Field Summary
 
Fields inherited from class operations.OpFindIntersection
intersection
 
Fields inherited from class operations.Operation
constructedObjects, level, objects, reconstructedObjects, thisLab, undoable, use
 
Constructor Summary
OpFindIntersectionAS(interagents.userLab lab)
           
 
Method Summary
 java.util.Vector getNearObjects(fundamentals.signature sgn, int x, int y, fundamentals.mouseInfo info)
          This method is used when the operation is performed because of a mouse click.
 void perform(fundamentals.signature sgn)
          The following method performs the operation on the objects given in objs.
 
Methods inherited from class operations.OpFindIntersection
can, canDefault, perform_it, record_it, toNaturalLanguage
 
Methods inherited from class operations.Operation
construct, deselect, enable, hide, isUndoable, name, record, record, show, start, stop, submenu, unconstruct, undoAll, undoFirst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpFindIntersectionAS

public OpFindIntersectionAS(interagents.userLab lab)
Method Detail

getNearObjects

public java.util.Vector getNearObjects(fundamentals.signature sgn,
                                       int x,
                                       int y,
                                       fundamentals.mouseInfo info)
                                throws LeaException
This method is used when the operation is performed because of a mouse click. The method finds those objects in the intersection of objs that are close to the mouse without selecting any of them.

LeaException

perform

public void perform(fundamentals.signature sgn)
             throws LeaException
Description copied from class: Operation
The following method performs the operation on the objects given in objs. It's assumed that it makes sense to perform the operation (this can be checked with the can() method. Some subclasses assume that can() method is always called before the perform() method, and that it's called with the same objs Vector.

Overrides:
perform in class OpFindIntersection
LeaException