public class FlexionLinkLayouter extends java.lang.Object implements LinkLayouter
TNetwork network=new TNetwork(); network.setLinkLayout(new FlexionLinkLayouter(network));
Constructor and Description |
---|
FlexionLinkLayouter(TNetwork network)
Creates FlexionLinkLayouter for the network component.
|
Modifier and Type | Method and Description |
---|---|
java.awt.geom.GeneralPath |
getLinkPath(LinkUI linkUI)
Retrieve the link path.
|
java.awt.Rectangle |
getOuterBounds(Node node)
Get the outer bounds of the specified node.
|
void |
layout()
Perform the layout action.
|
public FlexionLinkLayouter(TNetwork network)
network
- TNetwork the network to be apply forpublic void layout()
layout
in interface LinkLayouter
public java.awt.geom.GeneralPath getLinkPath(LinkUI linkUI)
getLinkPath
in interface LinkLayouter
linkUI
- LinkUI the LinkUI objectpublic java.awt.Rectangle getOuterBounds(Node node)
node
- NodeCopyright © 2002 - 2010 Serva Software. All Rights Reserved.