org.geotools.swing.utils
Class MapLayerUtils
Object
MapLayerUtils
public class MapLayerUtils
- extends Object
Helper methods for swing module components that work with MapLayer
objects.
- Since:
- 2.7
- Author:
- Michael Bedward
- Module:
modules/unsupported/swing (gt-swing.jar)
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapLayerUtils
public MapLayerUtils()
isGridLayer
public static boolean isGridLayer(MapLayer layer)
- Check if the given map layer contains a grid coverage or a grid coverage reader.
Implementation note: we avoid referencing org.geotools.coverage.grid classes
directly here so that applications dealing only with other data types are not
forced to have JAI in the classpath.
- Parameters:
layer
- the map layer
- Returns:
- true if this is a grid layer; false otherwise
getGridAttributeName
public static String getGridAttributeName(MapLayer layer)
Copyright © 1996-2010 Geotools. All Rights Reserved.