Class WorkflowFlowGraphVisualizationBean

java.lang.Object
de.xima.fc.workflow.designer.bean.WorkflowFlowGraphVisualizationBean
All Implemented Interfaces:
Serializable

@ViewScoped @Named public class WorkflowFlowGraphVisualizationBean extends Object implements Serializable
Controller Bean for visualizing the flow graph of a workflow task or processing chain as a graph diagram.
Since:
8.2.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • WorkflowFlowGraphVisualizationBean

      public WorkflowFlowGraphVisualizationBean()
  • Method Details

    • getPngFileName

      public String getPngFileName()
      Returns:
      The name for the PNG export file with the flow graph.
    • isShowSwitchDirectionBottomToTop

      public boolean isShowSwitchDirectionBottomToTop()
      Returns:
      Whether to show the option to switch the layout mode to ERankDirection.BOTTOM_TO_TOP.
    • isShowSwitchDirectionLeftToRight

      public boolean isShowSwitchDirectionLeftToRight()
      Returns:
      Whether to show the option to switch the layout mode to ERankDirection.LEFT_TO_RIGHT.
    • isShowSwitchDirectionRightToLeft

      public boolean isShowSwitchDirectionRightToLeft()
      Returns:
      Whether to show the option to switch the layout mode to ERankDirection.RIGHT_TO_LEFT.
    • isShowSwitchDirectionTopToBottom

      public boolean isShowSwitchDirectionTopToBottom()
      Returns:
      Whether to show the option to switch the layout mode to ERankDirection.TOP_TO_BOTTOM.
    • isShowSwitchModeFlow

      public boolean isShowSwitchModeFlow()
      Returns:
      Whether to show the option to switch the layout mode to EFlowGraphLayoutMode.HIERARCHY.
    • isShowSwitchModeFlowAndHierarchy

      public boolean isShowSwitchModeFlowAndHierarchy()
      Returns:
      Whether to show the option to switch the layout mode to EFlowGraphLayoutMode.FLOW_AND_HIERARCHY.
    • isShowSwitchModeHierarchy

      public boolean isShowSwitchModeHierarchy()
      Returns:
      Whether to show the option to switch the layout mode to EFlowGraphLayoutMode.HIERARCHY.
    • onTaskVisualizationRequest

      public void onTaskVisualizationRequest(TaskVisualizationRequestEvent event)
      When the button to visualize a task was clicked.
      Parameters:
      event - Event with the data of the task visualization request.
    • switchDirectionBottomToTop

      public void switchDirectionBottomToTop()
      Switches the layout to ERankDirection.BOTTOM_TO_TOP
    • switchDirectionLeftToRight

      public void switchDirectionLeftToRight()
      Switches the layout to ERankDirection.LEFT_TO_RIGHT
    • switchDirectionRightToLeft

      public void switchDirectionRightToLeft()
      Switches the layout to ERankDirection.RIGHT_TO_LEFT
    • switchDirectionTopToBottom

      public void switchDirectionTopToBottom()
      Switches the layout to ERankDirection.TOP_TO_BOTTOM
    • switchModeFlow

      public void switchModeFlow()
      Switches the layout to EFlowGraphLayoutMode.FLOW
    • switchModeFlowAndHierarchy

      public void switchModeFlowAndHierarchy()
    • switchModeHierarchy

      public void switchModeHierarchy()
      Switches the layout to EFlowGraphLayoutMode.HIERARCHY