CH.ifa.draw.figures
Class BorderTool

java.lang.Object
  extended by CH.ifa.draw.standard.AbstractTool
      extended by CH.ifa.draw.standard.ActionTool
          extended by CH.ifa.draw.figures.BorderTool
All Implemented Interfaces:
Tool

public class BorderTool
extends ActionTool

BorderTool decorates the clicked figure with a BorderDecorator.

See Also:
BorderDecorator

Field Summary
 
Fields inherited from class CH.ifa.draw.standard.AbstractTool
fAnchorX, fAnchorY, fView
 
Constructor Summary
BorderTool(DrawingView view)
           
 
Method Summary
 void action(Figure figure)
          Decorates the clicked figure with a border.
 
Methods inherited from class CH.ifa.draw.standard.ActionTool
mouseDown, mouseUp
 
Methods inherited from class CH.ifa.draw.standard.AbstractTool
activate, deactivate, drawing, editor, keyDown, mouseDrag, mouseMove, view
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BorderTool

public BorderTool(DrawingView view)
Method Detail

action

public void action(Figure figure)
Decorates the clicked figure with a border.

Specified by:
action in class ActionTool