Package org.adempiere.webui.apps.wf
Class WFNodeContainer
java.lang.Object
org.adempiere.webui.apps.wf.WFNodeContainer
- Author:
- Low Heng Sin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEdge
(MWFNodeNext edge) void
findBounds
(int AD_WF_Node_ID) Get Bounds of WF Node IconfindWidget
(int row, int column) int
int
int
org.netbeans.api.visual.graph.GraphScene<Integer,
MWFNodeNext> int
int
void
paint
(Graphics2D graphics) void
Remove All and their listenersvoid
setWorkflow
(MWorkflow wf) Set Workflowvoid
validate
(Graphics2D graphics)
-
Constructor Details
-
WFNodeContainer
public WFNodeContainer()WFContentPanel
-
-
Method Details
-
setWorkflow
Set Workflow- Parameters:
wf
- workflow
-
removeAll
public void removeAll()Remove All and their listeners -
addNode
-
addEdge
-
findWidget
- Parameters:
row
- row #, starting from 1column
- column #, starting from 1- Returns:
- WFNodeWidget
-
findBounds
Get Bounds of WF Node Icon- Parameters:
AD_WF_Node_ID
- node id- Returns:
- bounds of node with ID or null
-
getDimension
-
validate
-
paint
-
getRowCount
public int getRowCount() -
getCurrentRow
public int getCurrentRow() -
getCurrentColumn
public int getCurrentColumn() -
getColumnCount
public int getColumnCount() -
getMaxColumnWithNode
public int getMaxColumnWithNode() -
getGraphScene
-