/*
* @(#)HandleTracker.java
*
* Copyright (c) 2009-2010 by the original authors of JHotDraw and all its
* contributors. All rights reserved.
*
* You may not use, copy or modify this file, except in compliance with the
* license agreement you entered into with the copyright holders. For details
* see accompanying license terms.
*/
package org.jhotdraw.draw.tool;
import org.jhotdraw.draw.handle.Handle;
import java.util.Collection;
/**
* A handle tracker provides the behavior for manipulating a
* {@link Handle} of a figure to the {@link SelectionTool}.
*
*
* Design Patterns
*
* Strategy
* The different behavior states of the selection tool are implemented by
* trackers.
* Context: {@link SelectionTool}; State: {@link DragTracker},
* {@link HandleTracker}, {@link SelectAreaTracker}.
*
*
*
* @author Werner Randelshofer
* @version $Id: HandleTracker.java 718 2010-11-21 17:49:53Z rawcoder $
*/
public interface HandleTracker extends Tool {
public void setHandles(Handle handle, Collection compatibleHandles);
}
Ads help maintain this website.