All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.NullHandle

java.lang.Object
   |
   +----CH.ifa.draw.standard.AbstractHandle
           |
           +----CH.ifa.draw.standard.LocatorHandle
                   |
                   +----CH.ifa.draw.standard.NullHandle

public class NullHandle
extends LocatorHandle
A handle that doesn't change the owned figure. Its only purpose is to show feedback that a figure is selected.
Design Patterns

 o NullObject
NullObject enables to treat handles that don't do anything in the same way as other handles.


Variable Index

 o fLocator
The handle's locator.

Constructor Index

 o NullHandle(Figure, Locator)

Method Index

 o draw(Graphics)
Draws the NullHandle.

Variables

 o fLocator
 protected Locator fLocator
The handle's locator.

Constructors

 o NullHandle
 public NullHandle(Figure owner,
                   Locator locator)

Methods

 o draw
 public void draw(Graphics g)
Draws the NullHandle. NullHandles are drawn as a red framed rectangle.

Overrides:
draw in class AbstractHandle

All Packages  Class Hierarchy  This Package  Previous  Next  Index