All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.AddCompartmentTool

java.lang.Object
   |
   +----CH.ifa.draw.standard.AbstractTool
           |
           +----CH.ifa.draw.standard.ActionTool
                   |
                   +----CH.ifa.draw.standard.AddCompartmentTool

public class AddCompartmentTool
extends ActionTool
A creation tool that adds a compartment to the compartment panel under the cursor.


Constructor Index

 o AddCompartmentTool(DrawingView)

Method Index

 o action(Figure)
If the figure is a CompartmentPanel, delegate compartment creation to it.

Constructors

 o AddCompartmentTool
 public AddCompartmentTool(DrawingView view)

Methods

 o action
 public void action(Figure figure)
If the figure is a CompartmentPanel, delegate compartment creation to it.

Overrides:
action in class ActionTool

All Packages  Class Hierarchy  This Package  Previous  Next  Index