Class HASCOModelStatisticsComponentSelector

    • Nested Class Summary

      • Nested classes/interfaces inherited from class javafx.scene.control.TreeItem

        javafx.scene.control.TreeItem.TreeModificationEvent<T extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Resets the combo box to the wild-card and removes all child nodes.
      java.util.Collection<java.util.List<ai.libs.jaicore.basic.sets.Pair<java.lang.String,​java.lang.String>>> getAllSelectionsOnPathToAnyLeaf()
      Determines the set of all selection paths from here to a any leaf.
      javafx.scene.control.ComboBox<java.lang.String> getComponentSelector()  
      java.lang.String getRequiredInterface()  
      java.util.List<ai.libs.jaicore.basic.sets.Pair<java.lang.String,​java.lang.String>> getSelectionsOnPathToRoot()
      Gets the choices made in the combo boxes on the path from the root to here.
      java.lang.String toString()  
      void update()
      This recursively updates the whole tree view under this node with respect to the current selections.
      • Methods inherited from class javafx.scene.control.TreeItem

        addEventHandler, branchCollapsedEvent, branchExpandedEvent, buildEventDispatchChain, childrenModificationEvent, expandedItemCountChangeEvent, expandedProperty, getChildren, getGraphic, getParent, getValue, graphicChangedEvent, graphicProperty, isExpanded, isLeaf, leafProperty, nextSibling, nextSibling, parentProperty, previousSibling, previousSibling, removeEventHandler, setExpanded, setGraphic, setValue, treeNotificationEvent, valueChangedEvent, valueProperty
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • update

        public void update()
        This recursively updates the whole tree view under this node with respect to the current selections. This method is currently not too efficient, because it always iterates over all solutions, but it is still fast enough.
      • clear

        public void clear()
        Resets the combo box to the wild-card and removes all child nodes.
      • getSelectionsOnPathToRoot

        public java.util.List<ai.libs.jaicore.basic.sets.Pair<java.lang.String,​java.lang.String>> getSelectionsOnPathToRoot()
        Gets the choices made in the combo boxes on the path from the root to here. The first entry has a null-key just saying what the choice for the root component has been.
        Returns:
        List of choices.
      • getAllSelectionsOnPathToAnyLeaf

        public java.util.Collection<java.util.List<ai.libs.jaicore.basic.sets.Pair<java.lang.String,​java.lang.String>>> getAllSelectionsOnPathToAnyLeaf()
        Determines the set of all selection paths from here to a any leaf. For the root node, this is the set of constraints specified in the combo boxes.
        Returns:
        Collection of paths to leafs.
      • getRequiredInterface

        public java.lang.String getRequiredInterface()
      • getComponentSelector

        public javafx.scene.control.ComboBox<java.lang.String> getComponentSelector()