Class OlNodeSelectionManager
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.ospman.providers.ol.OlNodeSelectionManager
-
- All Implemented Interfaces:
MapSelectionManager<BusinessObjectViewNode>
,MapSelectionManager.NodeSelectionManager
public class OlNodeSelectionManager extends Object implements MapSelectionManager.NodeSelectionManager
- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.neotropic.kuwaiba.modules.commercial.ospman.api.MapSelectionManager
MapSelectionManager.EdgeSelectionManager, MapSelectionManager.NodeSelectionManager
-
-
Constructor Summary
Constructors Constructor Description OlNodeSelectionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deselect(BusinessObjectViewNode... items)
Performs the necessary actions to deselect a item in the map.void
deselectAll()
Performs the necessary actions to deselect all the selected items in the map.BusinessObjectViewNode
getFirstSelectedItem()
Gets the first selected item.List<BusinessObjectViewNode>
getSelectedItems()
Gets the selected items.void
select(BusinessObjectViewNode... items)
Performs the necessary actions to select a item in the map.
-
-
-
Method Detail
-
select
public void select(BusinessObjectViewNode... items)
Description copied from interface:MapSelectionManager
Performs the necessary actions to select a item in the map. For example change the background color of the node/edge labels.- Specified by:
select
in interfaceMapSelectionManager<BusinessObjectViewNode>
- Parameters:
items
- Items to select.
-
deselect
public void deselect(BusinessObjectViewNode... items)
Description copied from interface:MapSelectionManager
Performs the necessary actions to deselect a item in the map. For example change the background color of the node/edge labels.- Specified by:
deselect
in interfaceMapSelectionManager<BusinessObjectViewNode>
- Parameters:
items
- Items to deselect.
-
deselectAll
public void deselectAll()
Description copied from interface:MapSelectionManager
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.- Specified by:
deselectAll
in interfaceMapSelectionManager<BusinessObjectViewNode>
-
getFirstSelectedItem
public BusinessObjectViewNode getFirstSelectedItem()
Description copied from interface:MapSelectionManager
Gets the first selected item.- Specified by:
getFirstSelectedItem
in interfaceMapSelectionManager<BusinessObjectViewNode>
- Returns:
- The first selected item.
-
getSelectedItems
public List<BusinessObjectViewNode> getSelectedItems()
Description copied from interface:MapSelectionManager
Gets the selected items.- Specified by:
getSelectedItems
in interfaceMapSelectionManager<BusinessObjectViewNode>
- Returns:
- the selected items.
-
-