JHotDraw 7rev733

org.jhotdraw.draw.tool
Interface HandleTracker

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

public interface HandleTracker
extends Tool

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


Design Patterns

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


Version:
$Id: HandleTracker.java 718 2010-11-21 17:49:53Z rawcoder $
Author:
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

setHandles

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.