CH.ifa.draw.standard
Class NullHandle
- java.lang.Object
-
- CH.ifa.draw.standard.AbstractHandle
-
- CH.ifa.draw.standard.LocatorHandle
-
- CH.ifa.draw.standard.NullHandle
-
- All Implemented Interfaces:
- Handle
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
NullObject
NullObject enables to treat handles that don't do anything in the same way as other handles.
-
-
Field Summary
-
Fields inherited from class CH.ifa.draw.standard.AbstractHandle
HANDLESIZE
-
-
Constructor Summary
Constructors Constructor and Description NullHandle(Figure owner, Locator locator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddraw(java.awt.Graphics g)Draws the NullHandle.-
Methods inherited from class CH.ifa.draw.standard.LocatorHandle
locate
-
Methods inherited from class CH.ifa.draw.standard.AbstractHandle
containsPoint, displayBox, invokeEnd, invokeEnd, invokeStart, invokeStart, invokeStep, invokeStep, owner
-
-
DataMelt 3.0 © DataMelt by jWork.ORG