Class OlEdgeSelectionManager
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.ospman.providers.ol.OlEdgeSelectionManager
-
- All Implemented Interfaces:
MapSelectionManager<BusinessObjectViewEdge>
,MapSelectionManager.EdgeSelectionManager
public class OlEdgeSelectionManager extends Object implements MapSelectionManager.EdgeSelectionManager
- 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 OlEdgeSelectionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deselect(BusinessObjectViewEdge... 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.BusinessObjectViewEdge
getFirstSelectedItem()
Gets the first selected item.List<BusinessObjectViewEdge>
getSelectedItems()
Gets the selected items.void
select(BusinessObjectViewEdge... items)
Performs the necessary actions to select a item in the map.
-
-
-
Method Detail
-
select
public void select(BusinessObjectViewEdge... 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<BusinessObjectViewEdge>
- Parameters:
items
- Items to select.
-
deselect
public void deselect(BusinessObjectViewEdge... 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<BusinessObjectViewEdge>
- 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<BusinessObjectViewEdge>
-
getFirstSelectedItem
public BusinessObjectViewEdge getFirstSelectedItem()
Description copied from interface:MapSelectionManager
Gets the first selected item.- Specified by:
getFirstSelectedItem
in interfaceMapSelectionManager<BusinessObjectViewEdge>
- Returns:
- The first selected item.
-
getSelectedItems
public List<BusinessObjectViewEdge> getSelectedItems()
Description copied from interface:MapSelectionManager
Gets the selected items.- Specified by:
getSelectedItems
in interfaceMapSelectionManager<BusinessObjectViewEdge>
- Returns:
- the selected items.
-
-