Class AgentTabManager


  • public class AgentTabManager
    extends Object
    Agent Tab Manager.
    • Method Detail

      • getInstance

        public static AgentTabManager getInstance()
        Returns an instance of agent tab manager.
        Returns:
        an instance of agent tab manager.
      • getAttributeNames

        public Map getAttributeNames​(String agentType,
                                     int tabId)
        Returns map of section name to a set of attribute names of a given tab.
        Parameters:
        agentType - Type of agent.
        tabId - Tab Id.
        Returns:
        map of section name to a set of attribute names of a given tab.
      • getTabs

        public List getTabs​(String agentType)
        Returns tabs of a given agent type.
        Parameters:
        agentType - Type of agent.
        Returns:
        tabs of a given agent type.
      • getDefaultTab

        public String getDefaultTab​(String agentType)
        Returns default tab Id of a given agent type.
        Parameters:
        agentType - Type of agent.
        Returns:
        default tab Id of a given agent type.
      • getSectionOrder

        public List getSectionOrder​(String agentType,
                                    String tab)
        Returns order of sections of a given tab.
        Parameters:
        agentType - Type of agent.
        tab - Tab Id.
        Returns:
        order of sections of a given agent type.
      • isFirstTab

        public boolean isFirstTab​(String agentType,
                                  String tab)
        Returns true if the tab is the first one.
        Parameters:
        agentType - Type of agent.
        tab - Name of tab
        Returns:
        true if the tab is the first one.
      • getTabName

        public String getTabName​(String agentType,
                                 int tabIdx)
        Returns tab name.
        Parameters:
        tabIdx - Tab Id.
        Returns:
        tab name.
      • getTabId

        public int getTabId​(String agentType,
                            String tabName)
        Returns tab Id.
        Parameters:
        tabName - Tab name.
        Returns:
        tab Id.