|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.jung.visualization.AbstractLayout
edu.uci.ics.jung.visualization.StaticLayout
be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.graph.MyStaticLayout
public class MyStaticLayout
Static layout.
Creation date: 15/10/2007
Field Summary |
---|
Fields inherited from class edu.uci.ics.jung.visualization.AbstractLayout |
---|
changeSupport, vertex_locations |
Constructor Summary | |
---|---|
MyStaticLayout(edu.uci.ics.jung.graph.Graph g,
CoordMapper mapper)
|
Method Summary | |
---|---|
void |
forceMove(edu.uci.ics.jung.graph.Vertex picked,
double x,
double y)
Also sets the location in the SettableVertexLocationFunction . |
void |
moveToLocation(edu.uci.ics.jung.graph.Vertex picked,
double longitude,
double latitude)
Move a vertex to a specific location using the CoordMapper. |
Methods inherited from class edu.uci.ics.jung.visualization.StaticLayout |
---|
advancePositions, incrementsAreDone, initialize_local_vertex, initialize_local, isIncremental |
Methods inherited from class edu.uci.ics.jung.visualization.AbstractLayout |
---|
addChangeListener, applyFilter, dontMove, fireStateChanged, getAVertex, getBaseKey, getChangeListeners, getCoordinates, getCurrentSize, getEdge, getEdge, getGraph, getLocation, getStatus, getVertex, getVertex, getVertexIterator, getVisibleEdges, getVisibleGraph, getVisibleVertices, getX, getY, initialize, initialize, initializeLocation, initializeLocations, isLocked, lockVertex, offsetVertex, postInitialize, removeChangeListener, resize, restart, unlockVertex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyStaticLayout(edu.uci.ics.jung.graph.Graph g, CoordMapper mapper)
Method Detail |
---|
public void moveToLocation(edu.uci.ics.jung.graph.Vertex picked, double longitude, double latitude)
picked
- longitude
- latitude
- public void forceMove(edu.uci.ics.jung.graph.Vertex picked, double x, double y)
SettableVertexLocationFunction
.
forceMove
in interface edu.uci.ics.jung.visualization.Layout
forceMove
in class edu.uci.ics.jung.visualization.AbstractLayout
picked
- x
- y
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |