public class SubLayoutDecorator extends LayoutDecorator
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection |
subLayouts |
changeSupport, delegate
Constructor and Description |
---|
SubLayoutDecorator(Layout delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addSubLayout(SubLayout subLayout) |
void |
forceMove(Vertex picked,
double x,
double y)
Forces a node to be moved to location x,y
|
java.awt.geom.Point2D |
getLocation(ArchetypeVertex v) |
protected java.awt.geom.Point2D |
getLocationInSubLayout(ArchetypeVertex v) |
void |
removeAllSubLayouts() |
boolean |
removeSubLayout(SubLayout subLayout) |
addChangeListener, advancePositions, applyFilter, fireStateChanged, getChangeListeners, getCurrentSize, getDelegate, getGraph, getStatus, getVertex, getVertex, getVertexIterator, getVisibleEdges, getVisibleVertices, getX, getY, incrementsAreDone, initialize, isIncremental, isLocked, lockVertex, removeChangeListener, resize, restart, setDelegate, unlockVertex
public SubLayoutDecorator(Layout delegate)
public void addSubLayout(SubLayout subLayout)
public boolean removeSubLayout(SubLayout subLayout)
public void removeAllSubLayouts()
protected java.awt.geom.Point2D getLocationInSubLayout(ArchetypeVertex v)
public java.awt.geom.Point2D getLocation(ArchetypeVertex v)
getLocation
in interface Layout
getLocation
in interface VertexLocationFunction
getLocation
in class LayoutDecorator
Layout.getLocation(edu.uci.ics.jung.graph.ArchetypeVertex)
public void forceMove(Vertex picked, double x, double y)
Layout
forceMove
in interface Layout
forceMove
in class LayoutDecorator
Layout.forceMove(edu.uci.ics.jung.graph.Vertex, double, double)