Class GoogleMapsEdgeSelectionManager
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.ospman.providers.google.GoogleMapsEdgeSelectionManager
-
- All Implemented Interfaces:
MapSelectionManager<BusinessObjectViewEdge>,MapSelectionManager.EdgeSelectionManager
public class GoogleMapsEdgeSelectionManager extends Object implements MapSelectionManager.EdgeSelectionManager
Selection manager to edges in Google Map- 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 GoogleMapsEdgeSelectionManager(HashMap<BusinessObjectViewEdge,GoogleMapEdge> edges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeselect(BusinessObjectViewEdge... items)Performs the necessary actions to deselect a item in the map.voiddeselectAll()Performs the necessary actions to deselect all the selected items in the map.BusinessObjectViewEdgegetFirstSelectedItem()Gets the first selected item.List<BusinessObjectViewEdge>getSelectedItems()Gets the selected items.voidselect(BusinessObjectViewEdge... items)Performs the necessary actions to select a item in the map.
-
-
-
Constructor Detail
-
GoogleMapsEdgeSelectionManager
public GoogleMapsEdgeSelectionManager(HashMap<BusinessObjectViewEdge,GoogleMapEdge> edges)
-
-
Method Detail
-
select
public void select(BusinessObjectViewEdge... items)
Description copied from interface:MapSelectionManagerPerforms the necessary actions to select a item in the map. For example change the background color of the node/edge labels.- Specified by:
selectin interfaceMapSelectionManager<BusinessObjectViewEdge>- Parameters:
items- Items to select.
-
deselect
public void deselect(BusinessObjectViewEdge... items)
Description copied from interface:MapSelectionManagerPerforms the necessary actions to deselect a item in the map. For example change the background color of the node/edge labels.- Specified by:
deselectin interfaceMapSelectionManager<BusinessObjectViewEdge>- Parameters:
items- Items to deselect.
-
deselectAll
public void deselectAll()
Description copied from interface:MapSelectionManagerPerforms 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:
deselectAllin interfaceMapSelectionManager<BusinessObjectViewEdge>
-
getFirstSelectedItem
public BusinessObjectViewEdge getFirstSelectedItem()
Description copied from interface:MapSelectionManagerGets the first selected item.- Specified by:
getFirstSelectedItemin interfaceMapSelectionManager<BusinessObjectViewEdge>- Returns:
- The first selected item.
-
getSelectedItems
public List<BusinessObjectViewEdge> getSelectedItems()
Description copied from interface:MapSelectionManagerGets the selected items.- Specified by:
getSelectedItemsin interfaceMapSelectionManager<BusinessObjectViewEdge>- Returns:
- the selected items.
-
-