JHotDraw 7.4.1

Interface HandleTracker

All Superinterfaces:
java.util.EventListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, Tool
All Known Implementing Classes:

public interface HandleTracker
extends Tool

A handle tracker provides the behavior for manipulating a Handle of a figure to the SelectionTool.

Design Patterns

The different behavior states of the selection tool are implemented by trackers.
Context: SelectionTool; State: DragTracker, HandleTracker, SelectAreaTracker.

$Id: HandleTracker.java -1 $
Werner Randelshofer

Method Summary
 void setHandles(Handle handle, java.util.Collection<Handle> compatibleHandles)
Methods inherited from interface org.jhotdraw.draw.tool.Tool
activate, addToolListener, deactivate, draw, editCopy, editCut, editDelete, editDuplicate, editPaste, getToolTipText, removeToolListener, supportsHandleInteraction
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged, mouseMoved
Methods inherited from interface java.awt.event.KeyListener
keyPressed, keyReleased, keyTyped

Method Detail


void setHandles(Handle handle,
                java.util.Collection<Handle> compatibleHandles)

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.