flatscape.tool
Class DeleteTool.DeleteManipulator

java.lang.Object
  |
  +--flatscape.tool.DeleteTool.DeleteManipulator
All Implemented Interfaces:
Manipulator
Enclosing class:
DeleteTool

public class DeleteTool.DeleteManipulator
extends java.lang.Object
implements Manipulator

Manipulator for delete tool.


Constructor Summary
DeleteTool.DeleteManipulator()
           
 
Method Summary
 Command click(java.lang.Object event)
          Returns a RemoveUFCmd for the uform picked.
 Command effect(java.lang.Object event)
          Returns a RemoveUFCmd for each uform picked.
 Command grasp(java.lang.Object event)
          Saves the start coordinates and the picked UForm, and determines the initial status of picking, i.e. whether the user is PICKING a single or multiple objects (DRAGGING)
 Command manipulate(java.lang.Object event)
          Draws the multiple selection region
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteTool.DeleteManipulator

public DeleteTool.DeleteManipulator()
Method Detail

grasp

public Command grasp(java.lang.Object event)
Saves the start coordinates and the picked UForm, and determines the initial status of picking, i.e. whether the user is PICKING a single or multiple objects (DRAGGING)

Specified by:
grasp in interface Manipulator
Parameters:
event - event object encapsulation the information received from the input device
Returns:
null

manipulate

public Command manipulate(java.lang.Object event)
Draws the multiple selection region

Specified by:
manipulate in interface Manipulator
Parameters:
event - event object encapsulation the information received from the input device
Returns:
null

effect

public Command effect(java.lang.Object event)
Returns a RemoveUFCmd for each uform picked.

Specified by:
effect in interface Manipulator
Parameters:
event - event object encapsulation the information received from the input device
Returns:
RemoveUFCmd with the uforms to be deleted. A MacroCommand is returned when several uforms have been selected.

click

public Command click(java.lang.Object event)
Returns a RemoveUFCmd for the uform picked.

Specified by:
click in interface Manipulator
Parameters:
event - event object encapsulation the information received from the input device
Returns:
RemoveUFCmd with the uform picked.


Copyright (c) 2003 Rutgers, The State University of New Jersey