com.vividsolutions.jump.workbench.model
Class SystemLayerFinder

java.lang.Object
  extended by com.vividsolutions.jump.workbench.model.SystemLayerFinder
Direct Known Subclasses:
AbstractVectorLayerFinder, FenceLayerFinder

public abstract class SystemLayerFinder
extends java.lang.Object

A "system-maintained layer" has a fixed set of styles and is identified by name. For example, the vector layer has blue features with arrowheads and is named "Warping Vectors". A SystemLayerFinder class will find a particular system-maintained layer, and can create it if necessary.


Nested Class Summary
static class SystemLayerFinder.NonSavePromptingLayer
           
 
Constructor Summary
SystemLayerFinder(java.lang.String layerName, LayerManagerProxy layerManagerProxy)
           
 
Method Summary
 Layer createLayer()
           
 Layer getLayer()
           
 java.lang.String getLayerName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemLayerFinder

public SystemLayerFinder(java.lang.String layerName,
                         LayerManagerProxy layerManagerProxy)
Method Detail

getLayerName

public java.lang.String getLayerName()

createLayer

public Layer createLayer()

getLayer

public Layer getLayer()
Returns:
the layer, or null if there is no layer