|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractHandle
org.jhotdraw.standard.LocatorHandle
org.jhotdraw.standard.NullHandle
public class NullHandle
A handle that doesn't change the owned figure. Its only purpose is to show feedback that a figure is selected.
NullObject
NullObject enables to treat handles that don't do
anything in the same way as other handles.
Field Summary |
---|
Fields inherited from class org.jhotdraw.standard.AbstractHandle |
---|
HANDLESIZE |
Constructor Summary | |
---|---|
NullHandle(Figure owner,
Locator locator)
|
Method Summary | |
---|---|
void |
draw(java.awt.Graphics g)
Draws the NullHandle. |
Methods inherited from class org.jhotdraw.standard.LocatorHandle |
---|
getCursor, getLocator, locate |
Methods inherited from class org.jhotdraw.standard.AbstractHandle |
---|
containsPoint, displayBox, getUndoActivity, invokeEnd, invokeEnd, invokeStart, invokeStart, invokeStep, invokeStep, owner, setUndoActivity |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullHandle(Figure owner, Locator locator)
Method Detail |
---|
public void draw(java.awt.Graphics g)
draw
in interface Handle
draw
in class AbstractHandle
Handle.draw(java.awt.Graphics)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |