|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.graph.basic.BasicLayoutTarget
ptolemy.vergil.basic.BasicGraphFrame.PtolemyLayoutTarget
private class BasicGraphFrame.PtolemyLayoutTarget
A layout target that translates locatable nodes.
Constructor Summary | |
---|---|
BasicGraphFrame.PtolemyLayoutTarget(GraphController controller)
Construct a new layout target that operates in the given pane. |
Method Summary | |
---|---|
java.awt.geom.Rectangle2D |
getViewport(java.lang.Object composite)
Return the viewport of the given graph as a rectangle in logical coordinates. |
void |
translate(java.lang.Object node,
double dx,
double dy)
Translate the figure associated with the given node in the target's view by the given delta. |
Methods inherited from class diva.graph.basic.BasicLayoutTarget |
---|
getBounds, getController, getGraphicsPane, getGraphModel, getLayoutPercentage, getRootGraph, getVisualObject, intersectingEdges, intersectingNodes, isEdgeVisible, isNodeVisible, route, setLayoutPercentage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicGraphFrame.PtolemyLayoutTarget(GraphController controller)
Method Detail |
---|
public java.awt.geom.Rectangle2D getViewport(java.lang.Object composite)
getViewport
in interface LayoutTarget
getViewport
in class BasicLayoutTarget
public void translate(java.lang.Object node, double dx, double dy)
translate
in interface LayoutTarget
translate
in class BasicLayoutTarget
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |