Class SpatialDSLayer
- java.lang.Object
-
- com.vividsolutions.jump.workbench.model.AbstractLayerable
-
- com.vividsolutions.jump.workbench.model.GeoReferencedLayerable
-
- com.vividsolutions.jump.workbench.model.Layer
-
- com.vividsolutions.jump.datastore.spatialdatabases.SpatialDSLayer
-
- All Implemented Interfaces:
Disposable
,Layerable
,LayerManagerProxy
public class SpatialDSLayer extends Layer
-
-
Field Summary
Fields Modifier and Type Field Description protected WorkbenchContext
workbenchContext
-
Constructor Summary
Constructors Constructor Description SpatialDSLayer()
SpatialDSLayer(String name, Color fillColor, FeatureCollection featureCollection, LayerManager layerManager, WorkbenchContext workbenchContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Releases references to the data, to facilitate garbage collection.-
Methods inherited from class com.vividsolutions.jump.workbench.model.Layer
addFeatureSchemaOperation, addStyle, addUndo, cloneStyles, defaultLineColor, getBasicStyle, getDataSourceQuery, getDescription, getFeatureCollectionWrapper, getFeatureSchemaOperations, getLabelStyle, getStyle, getStyles, getStyles, getStylesIfEnabled, getVertexStyle, hasReadableDataSource, isDrawingLast, isFeatureCollectionModified, isSynchronizingLineColor, removeStyle, setDataSourceQuery, setDescription, setDrawingLast, setFeatureCollection, setFeatureCollectionModified, setFeatureCollectionWrapper, setLayerManager, setStyles, setSynchronizingLineColor, tryToInvalidateEnvelope
-
Methods inherited from class com.vividsolutions.jump.workbench.model.GeoReferencedLayerable
getBlackboard, getEnvelope, getSrsInfo, setEnvelope, setSrsInfo
-
Methods inherited from class com.vividsolutions.jump.workbench.model.AbstractLayerable
fireAppearanceChanged, fireLayerChanged, getLayerManager, getMaxScale, getMinScale, getName, getTask, isEditable, isReadonly, isScaleDependentRenderingEnabled, isSelectable, isVisible, setEditable, setMaxScale, setMinScale, setName, setReadonly, setScaleDependentRenderingEnabled, setSelectable, setVisible, toString
-
-
-
-
Field Detail
-
workbenchContext
protected WorkbenchContext workbenchContext
-
-
Constructor Detail
-
SpatialDSLayer
public SpatialDSLayer()
-
SpatialDSLayer
public SpatialDSLayer(String name, Color fillColor, FeatureCollection featureCollection, LayerManager layerManager, WorkbenchContext workbenchContext)
-
-
Method Detail
-
dispose
public void dispose()
Description copied from class:Layer
Releases references to the data, to facilitate garbage collection. Important for MDI apps like the JUMP Workbench. Called when the last JInternalFrame viewing the LayerManager is closed (i.e. internal frame's responsibility). To conserve memory, if layers are frequently added and removed from the LayerManager, parties may want to call #dispose themselves rather than waiting for the internal frame to be closed.- Specified by:
dispose
in interfaceDisposable
- Overrides:
dispose
in classLayer
-
-