org.geotools.map
Class DefaultMapLayer

Object
  extended by MapLayer
      extended by DefaultMapLayer

Deprecated. Use MapLayer for user interface work; or use Layer directly for rendering

public class DefaultMapLayer
extends MapLayer

Default Implementation of MapLayer.

Author:
wolf

Field Summary
 
Fields inherited from class MapLayer
internal
 
Constructor Summary
DefaultMapLayer(CollectionSource source, Style style, String title)
          Deprecated.  
DefaultMapLayer(Collection collection, Style style)
          Deprecated.  
DefaultMapLayer(Collection collection, Style style, String title)
          Deprecated.  
DefaultMapLayer(FeatureCollection collection, Style style)
          Deprecated. Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter
DefaultMapLayer(FeatureCollection collection, Style style, String title)
          Deprecated. Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter
DefaultMapLayer(FeatureSource featureSource, Style style)
          Deprecated. Creates a new instance of DefaultMapLayer
DefaultMapLayer(FeatureSource featureSource, Style style, String title)
          Deprecated. Creates a new instance of DefaultMapLayer
DefaultMapLayer(GridCoverage2DReader reader, Style style)
          Deprecated. Constructor which adds a new layer and triggers a LayerListEvent.
DefaultMapLayer(GridCoverage2DReader reader, Style style, String title)
          Deprecated. Constructor which adds a new layer and trigger a LayerListEvent.
DefaultMapLayer(GridCoverage2DReader reader, Style style, String title, GeneralParameterValue[] params)
          Deprecated. Constructor which adds a new layer and trigger a LayerListEvent.
DefaultMapLayer(GridCoverage coverage, Style style)
          Deprecated. * Add a new layer and trigger a LayerListEvent.
DefaultMapLayer(GridCoverage coverage, Style style, String title)
          Deprecated. * Add a new layer and trigger a LayerListEvent.
DefaultMapLayer(Layer layer)
          Deprecated. Wrap up a layer in a DefaultMapLayer; generally used to ensure layer is shown to the world as a feature source even if it happens to be a WMS or something.
 
Method Summary
 
Methods inherited from class MapLayer
addMapLayerListener, equals, getBounds, getFeatureSource, getQuery, getSource, getStyle, getTitle, hashCode, isSelected, isVisible, removeMapLayerListener, setQuery, setSelected, setStyle, setTitle, setVisible, toLayer, toString
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultMapLayer

public DefaultMapLayer(Layer layer)
Deprecated. 
Wrap up a layer in a DefaultMapLayer; generally used to ensure layer is shown to the world as a feature source even if it happens to be a WMS or something.


DefaultMapLayer

public DefaultMapLayer(FeatureSource featureSource,
                       Style style,
                       String title)
Deprecated. 
Creates a new instance of DefaultMapLayer

Parameters:
featureSource - the data source for this layer
style - the style used to represent this layer
title - the layer title
Throws:
NullPointerException - DOCUMENT ME!

DefaultMapLayer

public DefaultMapLayer(CollectionSource source,
                       Style style,
                       String title)
Deprecated. 

DefaultMapLayer

public DefaultMapLayer(FeatureSource featureSource,
                       Style style)
Deprecated. 
Creates a new instance of DefaultMapLayer

Parameters:
featureSource - the data source for this layer
style - the style used to represent this layer

DefaultMapLayer

public DefaultMapLayer(FeatureCollection collection,
                       Style style,
                       String title)
Deprecated. 
Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter

Parameters:
collection - the source feature collection
style - the style used to represent this layer
title - Title of map layer

DefaultMapLayer

public DefaultMapLayer(Collection collection,
                       Style style,
                       String title)
Deprecated. 

DefaultMapLayer

public DefaultMapLayer(FeatureCollection collection,
                       Style style)
Deprecated. 
Creates a new instance of DefaultMapLayer using a non-emtpy feature collection as a parameter

Parameters:
collection - the source feature collection
style - the style used to represent this layer

DefaultMapLayer

public DefaultMapLayer(Collection collection,
                       Style style)
Deprecated. 

DefaultMapLayer

public DefaultMapLayer(GridCoverage coverage,
                       Style style)
                throws TransformException,
                       FactoryRegistryException,
                       SchemaException
Deprecated. 
* Add a new layer and trigger a LayerListEvent.

Parameters:
coverage - The new layer that has been added.
style -
Throws:
SchemaException
FactoryRegistryException
TransformException

DefaultMapLayer

public DefaultMapLayer(GridCoverage2DReader reader,
                       Style style,
                       String title,
                       GeneralParameterValue[] params)
                throws TransformException,
                       FactoryRegistryException,
                       SchemaException
Deprecated. 
Constructor which adds a new layer and trigger a LayerListEvent.

Parameters:
reader - a reader with the new layer that will be added.
style -
title -
params - GeneralParameterValue[] that describe how the AbstractGridCoverage2DReader shall read the images
Throws:
SchemaException
FactoryRegistryException
TransformException

DefaultMapLayer

public DefaultMapLayer(GridCoverage2DReader reader,
                       Style style,
                       String title)
Deprecated. 
Constructor which adds a new layer and trigger a LayerListEvent.

Parameters:
reader - a reader with the new layer that will be added.
style -
title -
Throws:
SchemaException
FactoryRegistryException
TransformException

DefaultMapLayer

public DefaultMapLayer(GridCoverage2DReader reader,
                       Style style)
Deprecated. 
Constructor which adds a new layer and triggers a LayerListEvent.

Parameters:
reader - a reader with the new layer that will be added
style -
Throws:
SchemaException
FactoryRegistryException
TransformException

DefaultMapLayer

public DefaultMapLayer(GridCoverage coverage,
                       Style style,
                       String title)
                throws TransformException,
                       FactoryRegistryException,
                       SchemaException
Deprecated. 
* Add a new layer and trigger a LayerListEvent.

Parameters:
coverage - The new layer that has been added.
style -
title -
Throws:
SchemaException
FactoryRegistryException
TransformException


Copyright © 1996-2014 Geotools. All Rights Reserved.