Class MenuUtilsAI

java.lang.Object
overit.geocallapp.wfm.ai.MenuUtilsAI

public class MenuUtilsAI extends Object
  • Method Details

    • findMenuNodesFromNode

      public static List<MenuUtilsAI.MenuNode> findMenuNodesFromNode(XMLTree node, Teacher t)
      Search indside the menu tree all the items that contains the query passed as parameter into their label.
      Parameters:
      t - The teacher with which tranlaste labels
      Returns:
      A list of menu items that contains the searched string into their labels.
    • find

      protected static boolean find(ArrayList<MenuUtilsAI.MenuNode> paths, XMLTree current, ArrayList<XMLTree> parents, Teacher t)