public abstract class ProcessLayouter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LAYOUT_HORIZONTAL |
static int |
LAYOUT_VERTICAL |
Constructor and Description |
---|
ProcessLayouter() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getDisplayName() |
java.util.List<EdgeInterface> |
getUnroutedEdges()
hook, can be overwritten by layouters to provide a list
of edges that should be routed by the tools default edge layouter.
|
void |
layoutModel(AbstractModelAdapter model) |
abstract void |
layoutModel(AbstractModelAdapter model,
int xstart,
int ystart,
int direction)
Layouts the model - changes the x and y positions of all elements.
|
abstract void |
setSelectedNode(NodeInterface selectedNode) |
public static final int LAYOUT_VERTICAL
public static final int LAYOUT_HORIZONTAL
public abstract void layoutModel(AbstractModelAdapter model, int xstart, int ystart, int direction) throws java.lang.Exception
model
- direction
- One of LAYOUT_VERTICAL or LAYOUT_HORIZONTALnet.frapu.code.visualization.UnsupportedModelTypeException
java.lang.Exception
public void layoutModel(AbstractModelAdapter model) throws java.lang.Exception
java.lang.Exception
public abstract java.lang.String getDisplayName()
public abstract void setSelectedNode(NodeInterface selectedNode)
selectedNode
- public java.util.List<EdgeInterface> getUnroutedEdges()