cib.cad.kernel.cmds.util
Class RectangleRubberBand

java.lang.Object
  extended by cib.cad.kernel.cmds.util.RectangleRubberBand
All Implemented Interfaces:
GeometryPanel.RubberbandListener

public class RectangleRubberBand
extends java.lang.Object
implements GeometryPanel.RubberbandListener

This class represents the rubberband for a rectangle.

Version:
$Revision: 1960 $, $Author: svn-firmenich $, $Date: 2013-04-10 09:18:50 +0200 (Wed, 10. Apr 2013) $
Author:
Berthold Firmenich

Constructor Summary
RectangleRubberBand(Kernel krnl, java.awt.geom.Point2D pnt)
           
 
Method Summary
 void close()
           
 void paintEnds()
          Notification about end of paint: Temporary geometry should be drawn now.
 void paintStarts()
          Notification about start of paint: Temporary geometry should be undrawn.
 void reset()
          Notification about an interrupt: Temporary geometry should be reset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RectangleRubberBand

public RectangleRubberBand(Kernel krnl,
                           java.awt.geom.Point2D pnt)
Method Detail

reset

public void reset()
Description copied from interface: GeometryPanel.RubberbandListener
Notification about an interrupt: Temporary geometry should be reset.

Specified by:
reset in interface GeometryPanel.RubberbandListener

paintStarts

public void paintStarts()
Description copied from interface: GeometryPanel.RubberbandListener
Notification about start of paint: Temporary geometry should be undrawn.

Specified by:
paintStarts in interface GeometryPanel.RubberbandListener

paintEnds

public void paintEnds()
Description copied from interface: GeometryPanel.RubberbandListener
Notification about end of paint: Temporary geometry should be drawn now.

Specified by:
paintEnds in interface GeometryPanel.RubberbandListener

close

public void close()