/*
 * Created on Jun 25, 2003
 *
 * To change this generated comment go to 
 * Window>Preferences>Java>Code Generation>Code Template
 */
package jdraw.figures;

import java.util.*;
import jdraw.framework.*;

/**
 * @author Christoph
 */
public class BundleDecorator extends Decorator {
	private static final int NW = 0;
	private static final int SW = 1;
	private static final int SE = 2;
	private static final int NE = 3;


	public BundleDecorator(Figure f) {
		component = f;
	}
	/* (non-Javadoc)
	 * @see jdraw.framework.Figure#getHandles()
	 */
	public List getHandles() {
		List handles = new ArrayList(4);
		handles.add(new StdMoveHandle(NW, this));
		handles.add(new StdMoveHandle(SW, this));
		handles.add(new StdMoveHandle(SE, this));
		handles.add(new StdMoveHandle(NE, this));
		return handles;
	}

}
