org.gvsig.fmap.mapcontrol
Class MapControlLocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.fmap.mapcontrol.MapControlLocator
- All Implemented Interfaces:
- org.gvsig.tools.locator.Locator, org.gvsig.tools.locator.Locator_withExists
public class MapControlLocator
- extends org.gvsig.tools.locator.AbstractLocator
- Author:
- Jorge Piera
|
Field Summary |
static java.lang.String |
MAPCONTROL_MANAGER_NAME
MapControlManager name used by the locator to access the instance |
| Methods inherited from class org.gvsig.tools.locator.AbstractLocator |
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MAPCONTROL_MANAGER_NAME
public static final java.lang.String MAPCONTROL_MANAGER_NAME
- MapControlManager name used by the locator to access the instance
- See Also:
- Constant Field Values
MapControlLocator
public MapControlLocator()
getInstance
public static MapControlLocator getInstance()
- Return the singleton instance.
- Returns:
- the singleton instance
getLocatorName
public java.lang.String getLocatorName()
getMapControlManager
public static MapControlManager getMapControlManager()
throws org.gvsig.tools.locator.LocatorException
- Return a reference to
MapControlManager.
- Returns:
- a reference to MapControlManager
- Throws:
org.gvsig.tools.locator.LocatorException - if there is no access to the class or the class cannot be
instantiated- See Also:
Locator.get(String)
registerMapControlManager
public static void registerMapControlManager(java.lang.Class clazz)
- Registers the Class implementing the
MapControlManager interface.
- Parameters:
clazz - implementing the MapControlManager interface
Copyright © 2014 gvSIG Association. All Rights Reserved.