Class FWResultTreeNode

All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class FWResultTreeNode extends FWTreeNode
Author:
Andreas Enders
See Also:
  • Constructor Details

    • FWResultTreeNode

      public FWResultTreeNode(FWSystemModel aSystemModel)
      Creates the root node of a system model with one child node per scenario.
      Parameters:
      aSystemModel - the system model with the scenarios
    • FWResultTreeNode

      public FWResultTreeNode(FWResultTreeNode aParentNode, org.jdom2.Element aScenarioElement)
      Creates the node of a scenario.
      Parameters:
      aParentNode - the node of the system model
      aScenarioElement - the scenario element (attributes OID, scenarioname, scenariodesc, DATE)
  • Method Details

    • getChildCount

      public int getChildCount()
      Specified by:
      getChildCount in interface TreeNode
      Overrides:
      getChildCount in class DefaultMutableTreeNode
    • isSceanarioNode

      public boolean isSceanarioNode()
      Returns:
      if the Node is a ScenarioNode. false means node is a SystemNode
    • getSystemModel

      public FWSystemModel getSystemModel()
      Returns:
      the system model of this node