nl.cloudfarming.client.area.field.shape
Class ImportLayer

java.lang.Object
  extended by nl.cloudfarming.client.geoviewer.BaseLayer
      extended by nl.cloudfarming.client.geoviewer.ObjectLayer<ShapeLayerObject>
          extended by nl.cloudfarming.client.area.field.shape.ImportLayer
All Implemented Interfaces:
Transferable, javax.media.jai.PropertyChangeEmitter, Layer

public class ImportLayer
extends ObjectLayer<ShapeLayerObject>

The importLayer containes shapes from an imported shapefile. The layername is based on the filename of the imported shapefile and so it is intended that each imported shapefile gets placed on a separate layer. The importlayer defines actions for (for example but not exclusive) saving the shapes to more permanent layers.

Author:
Timon Veenstra

Field Summary
 
Fields inherited from class nl.cloudfarming.client.geoviewer.ObjectLayer
PROPERTY_OBJECTS
 
Fields inherited from class nl.cloudfarming.client.geoviewer.BaseLayer
PROPERTY_INTER_ACTIVE, PROPERTY_PALETTE
 
Fields inherited from interface nl.cloudfarming.client.geoviewer.Layer
DATA_FLAVOR
 
Constructor Summary
ImportLayer(FieldFile fieldFile, ImportDataProvider dataProvider)
           
 
Method Summary
 LayerAction[] getActions()
           
 FieldFile getFieldFile()
          Return the fieldFile represented by this importlayer
 
Methods inherited from class nl.cloudfarming.client.geoviewer.ObjectLayer
addObject, addObjects, clearObjects, getObjects, getSelectedObjects, isInterActive, removeObject, setInterActive
 
Methods inherited from class nl.cloudfarming.client.geoviewer.BaseLayer
addPropertyChangeListener, addPropertyChangeListener, getCategory, getChangeSupport, getDataProvider, getName, getPalette, getTransferData, getTransferDataFlavors, isDataFlavorSupported, removePropertyChangeListener, removePropertyChangeListener, setPalette
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportLayer

public ImportLayer(FieldFile fieldFile,
                   ImportDataProvider dataProvider)
Method Detail

getFieldFile

public final FieldFile getFieldFile()
Return the fieldFile represented by this importlayer

Returns:
The fieldFile represented by this importlayer

getActions

public LayerAction[] getActions()
Specified by:
getActions in interface Layer
Overrides:
getActions in class BaseLayer


Copyright © 2011. All Rights Reserved.