|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectMapLayerUtils
public class MapLayerUtils
Helper methods for swing module components that work with MapLayer
objects.
modules/unsupported/swing (gt-swing.jar)
Field Summary | |
---|---|
static String |
GRID_ATTR_KEY
Key for the String value in the Map returned by isGridLayer(org.geotools.map.MapLayer)
that has the name of the grid attribute in the layer's feature collection; or an
empty string if there is no grid attribute |
static String |
IS_GRID_KEY
Key for the boolean value in the Map returned by isGridLayer(org.geotools.map.MapLayer)
that indicates whether the layer contained a grid (or grid reader) |
static String |
IS_GRID_READER_KEY
Key for the boolean value in the Map returned by isGridLayer(org.geotools.map.MapLayer)
that indicates whether the layer contained a grid reader |
Constructor Summary | |
---|---|
MapLayerUtils()
|
Method Summary | |
---|---|
static Map<String,Object> |
isGridLayer(MapLayer layer)
Check if the given map layer contains a grid coverage or a grid coverage reader. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String IS_GRID_KEY
Map
returned by isGridLayer(org.geotools.map.MapLayer)
that indicates whether the layer contained a grid (or grid reader)
public static final String IS_GRID_READER_KEY
Map
returned by isGridLayer(org.geotools.map.MapLayer)
that indicates whether the layer contained a grid reader
public static final String GRID_ATTR_KEY
Map
returned by isGridLayer(org.geotools.map.MapLayer)
that has the name of the grid attribute in the layer's feature collection; or an
empty string if there is no grid attribute
Constructor Detail |
---|
public MapLayerUtils()
Method Detail |
---|
public static Map<String,Object> isGridLayer(MapLayer layer)
layer
- the map layer
Map
containing:
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |