cib.cad.kernel.cmds.util
Class WindowRubberBand

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

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

Rubber band for defining a rectangular area inside a graphical window.

Version:
$Revision: 1717 $, $Author: svn-firmenich $, $Date: 2012-02-29 14:42:17 +0100 (Wed, 29. Feb 2012) $
Author:
Berthold Firmenich

Constructor Summary
WindowRubberBand(Kernel krnl, DigitizeObject d)
           
 
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

WindowRubberBand

public WindowRubberBand(Kernel krnl,
                        DigitizeObject d)
Method Detail

close

public void close()

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