public class GridLayouter extends ProcessLayouter
Modifier and Type | Field and Description |
---|---|
static int |
BLACKBOX_POOL_HEIGHT |
static int |
LAYOUT_RIGHT_GRID_SPACING |
static int |
POOL_PADDING_LEFT |
static int |
POOL_PADDING_RIGHT |
static int |
POOL_PADDING_Y |
LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
Constructor and Description |
---|
GridLayouter(boolean rectifyEdges,
int maxTWFwidth,
boolean synchronizePools)
all configuration parameters are set here.
|
GridLayouter(boolean rectifyEdges,
int maxTWFwidth,
boolean synchronizePools,
int spacingX,
int spacingY)
all configuration parameters are set here.
|
GridLayouter(java.util.Properties properties)
standard Inubit Workbench constructor
all settings will be extracted from the properties
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
Hypergrid |
getGrids() |
int |
getMaxLaneDepth() |
java.util.Properties |
getProperties() |
java.util.List<EdgeInterface> |
getUnroutedEdges()
used only within ProcessEditor so far.
|
protected void |
layoutDataObject(FlowObjectWrapper _fow)
special handling for data objects, they are usually places on the upper right
of their associated nodes.
|
void |
layoutModel(AbstractModelAdapter model,
int xstart,
int ystart,
int direction)
layouts the given model.
|
void |
setSelectedNode(NodeInterface selectedNode) |
layoutModel
public static final int LAYOUT_RIGHT_GRID_SPACING
public static final int BLACKBOX_POOL_HEIGHT
public static final int POOL_PADDING_LEFT
public static final int POOL_PADDING_RIGHT
public static final int POOL_PADDING_Y
public GridLayouter(java.util.Properties properties)
public GridLayouter(boolean rectifyEdges, int maxTWFwidth, boolean synchronizePools)
public GridLayouter(boolean rectifyEdges, int maxTWFwidth, boolean synchronizePools, int spacingX, int spacingY)
public void layoutModel(AbstractModelAdapter model, int xstart, int ystart, int direction) throws java.lang.Exception
layoutModel
in class ProcessLayouter
direction
- One of LAYOUT_VERTICAL or LAYOUT_HORIZONTALjava.lang.Exception
public int getMaxLaneDepth()
protected void layoutDataObject(FlowObjectWrapper _fow)
_fow
- public java.lang.String getDisplayName()
getDisplayName
in class ProcessLayouter
public void setSelectedNode(NodeInterface selectedNode)
setSelectedNode
in class ProcessLayouter
public Hypergrid getGrids()
public java.util.Properties getProperties()
public java.util.List<EdgeInterface> getUnroutedEdges()
getUnroutedEdges
in class ProcessLayouter