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, unlockVertexpublic 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 LayoutgetLocation in interface VertexLocationFunctiongetLocation in class LayoutDecoratorLayout.getLocation(edu.uci.ics.jung.graph.ArchetypeVertex)public void forceMove(Vertex picked, double x, double y)
LayoutforceMove in interface LayoutforceMove in class LayoutDecoratorLayout.forceMove(edu.uci.ics.jung.graph.Vertex, double, double)