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 voiddeselect(BusinessObjectViewNode... 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.BusinessObjectViewNodegetFirstSelectedItem()Gets the first selected item.List<BusinessObjectViewNode>getSelectedItems()Gets the selected items.voidselect(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: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<BusinessObjectViewNode>- Parameters:
items- Items to select.
-
deselect
public void deselect(BusinessObjectViewNode... 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<BusinessObjectViewNode>- 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<BusinessObjectViewNode>
-
getFirstSelectedItem
public BusinessObjectViewNode getFirstSelectedItem()
Description copied from interface:MapSelectionManagerGets the first selected item.- Specified by:
getFirstSelectedItemin interfaceMapSelectionManager<BusinessObjectViewNode>- Returns:
- The first selected item.
-
getSelectedItems
public List<BusinessObjectViewNode> getSelectedItems()
Description copied from interface:MapSelectionManagerGets the selected items.- Specified by:
getSelectedItemsin interfaceMapSelectionManager<BusinessObjectViewNode>- Returns:
- the selected items.
-
-