Class WFNodeContainer


  • public class WFNodeContainer
    extends Object
    Author:
    Low Heng Sin
    • Constructor Detail

      • WFNodeContainer

        public WFNodeContainer()
        WFContentPanel
    • Method Detail

      • setWorkflow

        public void setWorkflow​(MWorkflow wf)
        Set Workflow
        Parameters:
        wf - workflow
      • removeAll

        public void removeAll()
        Remove All and their listeners
      • addNode

        public void addNode​(MWFNode node)
      • findWidget

        public WFNodeWidget findWidget​(int row,
                                       int column)
        Parameters:
        row - row #, starting from 1
        column - column #, starting from 1
        Returns:
        WFNodeWidget
      • findBounds

        public Rectangle findBounds​(int AD_WF_Node_ID)
        Get Bounds of WF Node Icon
        Parameters:
        AD_WF_Node_ID - node id
        Returns:
        bounds of node with ID or null
      • getDimension

        public Dimension getDimension()
      • validate

        public void validate​(Graphics2D graphics)
      • paint

        public void paint​(Graphics2D graphics)
      • getRowCount

        public int getRowCount()
      • getCurrentRow

        public int getCurrentRow()
      • getCurrentColumn

        public int getCurrentColumn()
      • getColumnCount

        public int getColumnCount()
      • getMaxColumnWithNode

        public int getMaxColumnWithNode()
      • getGraphScene

        public org.netbeans.api.visual.graph.GraphScene<Integer,​MWFNodeNext> getGraphScene()