Bug 2273: Removed unbuilt third-party code.
[controller.git] / third-party / net.sf.jung2 / src / main / java / edu / uci / ics / jung / algorithms / layout / Layout.java
diff --git a/third-party/net.sf.jung2/src/main/java/edu/uci/ics/jung/algorithms/layout/Layout.java b/third-party/net.sf.jung2/src/main/java/edu/uci/ics/jung/algorithms/layout/Layout.java
deleted file mode 100644 (file)
index 5162ac5..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
-* Copyright (c) 2003, the JUNG Project and the Regents of the University 
-* of California
-* All rights reserved.
-*
-* This software is open-source under the BSD license; see either
-* "license.txt" or
-* http://jung.sourceforge.net/license.txt for a description.
-*/
-package edu.uci.ics.jung.algorithms.layout;
-
-import java.awt.Dimension;
-import java.awt.geom.Point2D;
-
-import org.apache.commons.collections15.Transformer;
-
-import edu.uci.ics.jung.graph.Graph;
-
-/**
- * A generalized interface is a mechanism for returning (x,y) coordinates 
- * from vertices. In general, most of these methods are used to both control and
- * get information from the layout algorithm.
- * <p>
- * @author danyelf
- * @author tom nelson
- */
-public interface Layout<V, E> extends Transformer<V,Point2D> {
-    
-       /**
-        * Initializes fields in the node that may not have
-        * been set during the constructor. Must be called before
-        * the iterations begin.
-        */
-       void initialize();
-       
-       /**
-        * provides initial locations for all vertices.
-        * @param initializer
-        */
-       void setInitializer(Transformer<V,Point2D> initializer);
-    
-       /**
-        * setter for graph
-        * @param graph
-        */
-    void setGraph(Graph<V,E> graph);
-
-       /**
-        * Returns the full graph (the one that was passed in at 
-        * construction time) that this Layout refers to.
-        * 
-        */
-       Graph<V,E> getGraph();
-       
-       /**
-        * 
-        *
-        */
-       void reset();
-       
-       /**
-        * @param d
-        */
-       void setSize(Dimension d);
-       
-       /**
-        * Returns the current size of the visualization's space.
-        */
-       Dimension getSize();
-
-
-       /**
-        * Sets a flag which fixes this vertex in place.
-     * 
-        * @param v     vertex
-        */
-       void lock(V v, boolean state);
-
-    /**
-     * Returns <code>true</code> if the position of vertex <code>v</code>
-     * is locked.
-     */
-    boolean isLocked(V v);
-
-    /**
-     * set the location of a vertex
-     * @param v
-     * @param location
-     */
-       void setLocation(V v, Point2D location);
-
-
-}