Class FeatureLayer
- java.lang.Object
-
- com.bc.ceres.core.ExtensibleObject
-
- com.bc.ceres.glayer.Layer
-
- org.esa.snap.rcp.layermanager.layersrc.shapefile.FeatureLayer
-
- All Implemented Interfaces:
Extensible
public class FeatureLayer extends Layer
A layer that renders a feature collection using a given style.Unstable API. Use at own risk.
- Since:
- BEAM 4.6
- Version:
- $Revision: $ $Date: $
-
-
Constructor Summary
Constructors Constructor Description FeatureLayer(LayerType layerType, org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> fc, PropertySet configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fireLayerPropertyChanged(PropertyChangeEvent event)
protected Rectangle2D
getLayerModelBounds()
double
getPolyFillOpacity()
double
getPolyStrokeOpacity()
double
getTextOpacity()
protected void
renderLayer(Rendering rendering)
void
setPolyFillOpacity(double opacity)
void
setPolyStrokeOpacity(double opacity)
void
setTextOpacity(double opacity)
-
Methods inherited from class com.bc.ceres.glayer.Layer
addListener, dispose, disposeChildren, disposeLayer, fireLayerDataChanged, fireLayerPropertyChanged, fireLayersAdded, fireLayersRemoved, getChildIndex, getChildren, getChildrenModelBounds, getComposite, getConfiguration, getConfigurationProperty, getId, getLayerType, getListeners, getModelBounds, getName, getParent, getSwipePercent, getTransparency, isCollectionLayer, isVisible, regenerate, removeListener, render, render, renderChildren, setComposite, setId, setName, setSwipePercent, setTransparency, setVisible, toString
-
Methods inherited from class com.bc.ceres.core.ExtensibleObject
getExtension
-
-
-
-
Constructor Detail
-
FeatureLayer
public FeatureLayer(LayerType layerType, org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> fc, PropertySet configuration)
-
-
Method Detail
-
getLayerModelBounds
protected Rectangle2D getLayerModelBounds()
- Overrides:
getLayerModelBounds
in classLayer
-
getPolyFillOpacity
public double getPolyFillOpacity()
-
getPolyStrokeOpacity
public double getPolyStrokeOpacity()
-
getTextOpacity
public double getTextOpacity()
-
setPolyFillOpacity
public void setPolyFillOpacity(double opacity)
-
setPolyStrokeOpacity
public void setPolyStrokeOpacity(double opacity)
-
setTextOpacity
public void setTextOpacity(double opacity)
-
fireLayerPropertyChanged
protected void fireLayerPropertyChanged(PropertyChangeEvent event)
- Overrides:
fireLayerPropertyChanged
in classLayer
-
renderLayer
protected void renderLayer(Rendering rendering)
- Overrides:
renderLayer
in classLayer
-
-