public class NetCellUtilities
extends java.lang.Object
Constructor and Description |
---|
NetCellUtilities() |
Modifier and Type | Method and Description |
---|---|
static void |
alignCellsAlongBottom(NetGraph net,
java.lang.Object[] cells) |
static void |
alignCellsAlongHorizontalCentre(NetGraph net,
java.lang.Object[] cells) |
static void |
alignCellsAlongLeft(NetGraph net,
java.lang.Object[] cells) |
static void |
alignCellsAlongRight(NetGraph net,
java.lang.Object[] cells) |
static void |
alignCellsAlongTop(NetGraph net,
java.lang.Object[] cells) |
static void |
alignCellsAlongVerticalCentre(NetGraph net,
java.lang.Object[] cells) |
static void |
applyViewChange(NetGraph net,
CellView view) |
static void |
applyViewChange(NetGraph net,
CellView[] views) |
static YAWLAtomicTask |
getAtomicTaskFromCell(java.lang.Object cell) |
static YAWLCompositeTask |
getCompositeTaskFromCell(java.lang.Object cell) |
static int |
getFlowLineStyle(NetGraph net,
YAWLFlowRelation flow) |
static YAWLFlowRelation |
getFlowRelationFromCell(java.lang.Object cell) |
static java.awt.Point |
getHalfwayPoint(YPortView port1,
YPortView port2) |
static InputCondition |
getInputConditionFromCell(java.lang.Object cell) |
static OutputCondition |
getOutputConditionFromCell(java.lang.Object cell) |
static YAWLTask |
getTaskFromCell(java.lang.Object cell) |
static YAWLVertex |
getVertexFromCell(java.lang.Object cell) |
static void |
moveViewToLocation(NetGraph net,
CellView view,
double x,
double y) |
static void |
prettifyLoopingFlow(NetGraph graph,
YAWLFlowRelation flow,
EdgeView flowView,
CellView sourceView) |
static void |
propagateFontChangeAcrossNet(NetGraph net,
java.awt.Font font) |
static void |
resizeView(NetGraph net,
CellView view,
double width,
double height) |
static void |
scrollNetToShowCells(NetGraph net,
java.lang.Object[] cells) |
static void |
setFlowStyle(NetGraph net,
YAWLFlowRelation flow,
int flowStyle) |
static void |
togglePointOnFlow(NetGraph net,
YAWLFlowRelation flow,
java.awt.Point point) |
static void |
translateView(NetGraph net,
CellView view,
double x,
double y) |
static void |
translateViews(NetGraph net,
CellView[] views,
double x,
double y) |
public static void propagateFontChangeAcrossNet(NetGraph net, java.awt.Font font)
public static void translateViews(NetGraph net, CellView[] views, double x, double y)
public static void moveViewToLocation(NetGraph net, CellView view, double x, double y)
public static void alignCellsAlongTop(NetGraph net, java.lang.Object[] cells)
public static void alignCellsAlongHorizontalCentre(NetGraph net, java.lang.Object[] cells)
public static void alignCellsAlongBottom(NetGraph net, java.lang.Object[] cells)
public static void alignCellsAlongLeft(NetGraph net, java.lang.Object[] cells)
public static void alignCellsAlongVerticalCentre(NetGraph net, java.lang.Object[] cells)
public static void alignCellsAlongRight(NetGraph net, java.lang.Object[] cells)
public static void setFlowStyle(NetGraph net, YAWLFlowRelation flow, int flowStyle)
public static int getFlowLineStyle(NetGraph net, YAWLFlowRelation flow)
public static void togglePointOnFlow(NetGraph net, YAWLFlowRelation flow, java.awt.Point point)
public static void scrollNetToShowCells(NetGraph net, java.lang.Object[] cells)
public static YAWLVertex getVertexFromCell(java.lang.Object cell)
public static InputCondition getInputConditionFromCell(java.lang.Object cell)
public static OutputCondition getOutputConditionFromCell(java.lang.Object cell)
public static YAWLTask getTaskFromCell(java.lang.Object cell)
public static YAWLAtomicTask getAtomicTaskFromCell(java.lang.Object cell)
public static YAWLCompositeTask getCompositeTaskFromCell(java.lang.Object cell)
public static YAWLFlowRelation getFlowRelationFromCell(java.lang.Object cell)
public static void prettifyLoopingFlow(NetGraph graph, YAWLFlowRelation flow, EdgeView flowView, CellView sourceView)