Interface MapSelectionManager<T>

    • Method Detail

      • select

        void select​(T... items)
        Performs the necessary actions to select a item in the map. For example change the background color of the node/edge labels.
        Parameters:
        items - Items to select.
      • deselect

        void deselect​(T... items)
        Performs the necessary actions to deselect a item in the map. For example change the background color of the node/edge labels.
        Parameters:
        items - Items to deselect.
      • deselectAll

        void deselectAll()
        Performs the necessary actions to deselect all the selected items in the map. For example change the background color of the selected node/edge labels.
      • getFirstSelectedItem

        T getFirstSelectedItem()
        Gets the first selected item.
        Returns:
        The first selected item.
      • getSelectedItems

        List<T> getSelectedItems()
        Gets the selected items.
        Returns:
        the selected items.