Class FWTreeNodeFactory

java.lang.Object
net.simplace.ui.tree.FWTreeNodeFactory
Direct Known Subclasses:
FWKeyWordTreeNodeFactory, FWResultTreeNodeFactory, FWSimComponentsTreeNodeFactory, FWSimSolutionTreeNodeFactory

public abstract class FWTreeNodeFactory extends Object
Creates the nodes of a FWTree from a source object.
Author:
Andreas Enders
  • Field Details

    • iSourceElement

      protected Object iSourceElement
    • iAllwaysShowTreeNodes

      protected boolean iAllwaysShowTreeNodes
  • Constructor Details

    • FWTreeNodeFactory

      public FWTreeNodeFactory(Object aSourceElement, boolean aAllwaysShowTreeNodes)
      Parameters:
      aSourceElement - source of the nodes (e.g. an XML element)
      aAllwaysShowTreeNodes - whether nodes are shown even if their function does not exist
  • Method Details

    • createTreeChildren

      protected abstract void createTreeChildren(DefaultMutableTreeNode aRootNode)
      Creates the child nodes below the root node.
      Parameters:
      aRootNode - the node the children are added to