Class TaxoModel

java.lang.Object
com.articulate.sigma.TaxoModel

public class TaxoModel extends Object
A model for an expandable tree widget
  • Field Details

  • Constructor Details

    • TaxoModel

      public TaxoModel()
  • Method Details

    • newTree

      public static void newTree(String termName)
      Remove the old tree and start over from termName.
    • removeCached

      public static List<Formula> removeCached(List<Formula> forms)
      Remove any cached formulas from a list.
    • collapseParentNodes

      public static void collapseParentNodes(String nodeName)
      Remove the parents of this node.
    • expandParentNodes

      public static void expandParentNodes(String nodeName)
      Gather information from the knowledge base to create the data for the parents of this node.
    • collapseNode

      public static void collapseNode(String nodeName)
      Remove the children of this node.Called as the result of an invalid input: '&contract'=term parameter sent to TreeView.jsp
    • expandNode

      public static void expandNode(String nodeName)
      Gather information from the knowledge base to create the data for the children of this node. Called as the result of an invalid input: '&expand'=term parameter sent to TreeView.jsp
    • displayTerm

      public static void displayTerm(String nodeName)
      If the given name is already displayed, do nothing, otherwise create a new tree with that one node.
    • toHTML

      public static String toHTML(String kbHref)