|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wilmascope.graph.LayoutEngine
org.wilmascope.multiscalelayout.MultiScaleLayout
public class MultiScaleLayout
Description:
$Id: MultiScaleLayout.java,v 1.11 2004/11/19 09:14:24 tgdwyer Exp $
Field Summary | |
---|---|
static float |
scale
|
Constructor Summary | |
---|---|
MultiScaleLayout()
|
Method Summary | |
---|---|
boolean |
applyLayout()
apply the changes calculated by calculateLayout() |
void |
calculateLayout()
calculate the changes required to move the graph to a nicer layout |
EdgeLayout |
createEdgeLayout(Edge e)
Factory method to create a new EdgeLayout implementation compatible with the layout engine implementing this interface. |
NodeLayout |
createNodeLayout(Node n)
Factory method to create a new NodeLayout implementation compatible with the layout engine implementing this interface. |
javax.swing.JPanel |
getControls()
|
java.lang.String |
getName()
Return a string descriptor for the layout engine type. |
java.lang.String |
getTypeName()
|
void |
init(Cluster root)
The LayoutEngine should have no constructor. |
Methods inherited from class org.wilmascope.graph.LayoutEngine |
---|
getProperties, getRoot, isIterative, resetProperties, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static float scale
Constructor Detail |
---|
public MultiScaleLayout()
Method Detail |
---|
public java.lang.String getTypeName()
public void init(Cluster root)
LayoutEngine
init
in class LayoutEngine
public void calculateLayout()
calculateLayout
in class LayoutEngine
public boolean applyLayout()
calculateLayout()
applyLayout
in class LayoutEngine
public NodeLayout createNodeLayout(Node n)
LayoutEngine
createNodeLayout
in class LayoutEngine
public EdgeLayout createEdgeLayout(Edge e)
LayoutEngine
createEdgeLayout
in class LayoutEngine
public javax.swing.JPanel getControls()
getControls
in class LayoutEngine
public java.lang.String getName()
LayoutEngine
getName
in class LayoutEngine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |