public class RadialLayouter extends ProcessLayouter implements java.util.Comparator<RadialNodeWrapper>
LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
Constructor and Description |
---|
RadialLayouter(Configuration properties) |
Modifier and Type | Method and Description |
---|---|
int |
compare(RadialNodeWrapper o1,
RadialNodeWrapper o2) |
java.lang.String |
getDisplayName() |
int |
getLayerDistance() |
boolean |
isUnlayouted(NodeInterface target) |
void |
layoutModel(AbstractModelAdapter model,
int xstart,
int ystart,
int direction)
Layouts the model - changes the x and y positions of all elements.
|
void |
setCenterNode(NodeInterface node) |
void |
setSelectedNode(NodeInterface selectedNode) |
getUnroutedEdges, layoutModel
public RadialLayouter(Configuration properties)
properties
- public java.lang.String getDisplayName()
getDisplayName
in class ProcessLayouter
public void layoutModel(AbstractModelAdapter model, int xstart, int ystart, int direction) throws java.lang.Exception
ProcessLayouter
layoutModel
in class ProcessLayouter
direction
- One of LAYOUT_VERTICAL or LAYOUT_HORIZONTALjava.lang.Exception
public void setCenterNode(NodeInterface node)
public boolean isUnlayouted(NodeInterface target)
target
- public void setSelectedNode(NodeInterface selectedNode)
setSelectedNode
in class ProcessLayouter
public int compare(RadialNodeWrapper o1, RadialNodeWrapper o2)
compare
in interface java.util.Comparator<RadialNodeWrapper>
public int getLayerDistance()