Package org.gvsig.raster.lib.legend.api
Class RasterLegendLocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.raster.lib.legend.api.RasterLegendLocator
- All Implemented Interfaces:
org.gvsig.tools.locator.Locator,org.gvsig.tools.locator.Locator_withExists
public class RasterLegendLocator
extends org.gvsig.tools.locator.AbstractLocator
Raster legend locator to get Raster legend manager singleton instance
- Author:
- Lluis Marques
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RasterLegendLocatorReturn the singleton instance.static RasterLegendManagerReturn a reference toRasterLegendManager.static voidregisterRasterLegendManager(Class clazz) Registers the Class implementing theRasterLegendManagerinterface.Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
-
Field Details
-
LOCATOR_NAME
- See Also:
-
RASTER_LEGEND_MANAGER_NAME
- See Also:
-
RASTER_LEGEND_MANAGER_DESCRIPTION
- See Also:
-
-
Constructor Details
-
RasterLegendLocator
public RasterLegendLocator()
-
-
Method Details
-
getInstance
Return the singleton instance.- Returns:
- the singleton instance
-
getLocatorName
-
getRasterLegendManager
public static RasterLegendManager getRasterLegendManager() throws org.gvsig.tools.locator.LocatorExceptionReturn a reference toRasterLegendManager.- Returns:
- a reference to RasterLegendManager
- Throws:
org.gvsig.tools.locator.LocatorException- if there is no access to the class or the class cannot be instantiated- See Also:
-
registerRasterLegendManager
Registers the Class implementing theRasterLegendManagerinterface.- Parameters:
clazz- implementing the RasterLegendManager interface
-