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 Details

  • Constructor Details

    • RasterLegendLocator

      public RasterLegendLocator()
  • Method Details

    • getInstance

      public static RasterLegendLocator getInstance()
      Return the singleton instance.
      Returns:
      the singleton instance
    • getLocatorName

      public String getLocatorName()
    • getRasterLegendManager

      public static RasterLegendManager getRasterLegendManager() throws org.gvsig.tools.locator.LocatorException
      Return a reference to RasterLegendManager.
      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:
      • invalid reference
        Locator#get(String)
    • registerRasterLegendManager

      public static void registerRasterLegendManager(Class clazz)
      Registers the Class implementing the RasterLegendManager interface.
      Parameters:
      clazz - implementing the RasterLegendManager interface