## com.bbn.openmap.layer.vpf
Class VPFLayer

    java.lang.Object
      java.awt.Component
          java.awt.Container
              javax.swing.JComponent
                  com.bbn.openmap.Layer
                      com.bbn.openmap.layer.OMGraphicHandlerLayer
                          com.bbn.openmap.layer.vpf.VPFLayer

All Implemented Interfaces:
  java.awt.event.ActionListener, java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextMembershipListener, java.util.EventListener, GestureResponsePolicy, java.awt.image.ImageObserver, java.awt.MenuContainer, ProjectionListener, ProjectionPainter, PropertyConsumer, java.io.Serializable

Direct Known Subclasses:
  VPFRoadLayer

public class VPFLayer
extends OMGraphicHandlerLayer
implements ProjectionListener, java.awt.event.ActionListener, java.io.Serializable

Implement an OpenMap Layer for display of NIMA data sources in the VPF (Mil-Std 2407) format.

The properties needed to configure this layer to display VPF data include some "magic" strings specific to the VPF database you are trying to display. `DescribeDB`is a utility to help you figure out what those strings are.

       #-----------------------------
       # Properties for a VMAP political layer
       #-----------------------------
       # Mandatory properties
       # Mandatory for all layers
       vmapPol.class= com.bbn.openmap.layer.vpf.VPFLayer
       vmapPol.prettyName= Political Boundaries from VMAP
       # Mandatory - choose .vpfPath or .libraryBean
       # .vpfPath specifies a ';' separated list of paths to data, each of these
       #directories should have a "lat" or "lat." file in them.
       vmapPol.vpfPath= e:/VMAPLV0
       # .libraryBean specifies a separate object in the properties file that
       # locates vpf data.  You should use this option if you have multiple VPF
       # layers displaying the same VPF database.  (For example, you have 3 VMAP
       # layers, displaying coastlines, railroads and rivers.  Each layer would
       # then specify the same libraryBean name.  This reduces the memory
       # consumption of the VPF layers.)
       # See LibraryBean javadoc for properties info. (Example below)
       vmapPol.libraryBean= VMAPdata
       VMAPData.class=com.bbn.openmap.layer.vpf.LibraryBean
       VMAPData.vpfPath=e:/VMAPLV0
       # Don't forget to add VMAPData to the openmap.components property list, too.
       #
       #Optional (default is true) changes how features are located.  Should
       #use this option for multiple coverage types, or when null pointer errors
       #are encountered.
       vmapPol.searchByFeature=true

       #Limit which VPF library is used (optional).  If not specified,
       #all available libraries will be checked and used.
       vmapPol.libraryName=noamer
       #
       # Choose either .defaultLayer or .coverageType
       #
       # .defaultLayer results in the layer looking up the remainder of the
       # properties in the defaultVPFLayers.properties files.
       vmapPol.defaultLayer= vmapPolitical
       #
       # .coverageType continues in this property file - chose the VMAP bnd
       # (Boundary) coverage
       vmapPol.coverageType= bnd
       # Select if we want edges (polylines), areas (filled polygons) or text
       # This is a space-separated list of "edge" "area" "text" "epoint" and "cpoint"
       vmapPol.featureTypes= edge area
       #For DCW, the remaining 3 properties are ignored
       #Select the text featureclasses we'd like to display.  Since we didn't
       #select text above, this is ignored
       vmapPol.text=
       #Select the edge featureclasses we'd like to display. In this case,
       #draw political boundaries and coastline, but skip anything else.
       vmapPol.edge=polbndl coastl
       #Select the area featureclasses we'd like to display. In this case,
       #draw politcal areas, but skip anything else.
       vmapPol.area=polbnda
       #Selectable drawing attributes - for default values, they don't need to
       #be included.  A hex ARGB color looks like FF000000 for black.
       vmapPol.lineColor=hex ARGB color value - Black is default.
       vmapPol.fillColor=hex ARGB color value - Clear is default.
       vmapPol.lineWidth=float value, 1f is the default, 10f is the max.

       # The column name in the feature table that should be displayed.  The easiest
       # way to find out what these columns should be for an application is to run the
       # application with the other properties set for the layer, and then bring up
       # the layer's palette.  When the feature is selected, there are additional
       # controls that let you display the coverage column names and display type,
       # and the coverage column names in the popup are the ones that can be used
       # in the properties (the column names are in parenthesis).  NOTE:   The features
       # have to be added to the map and visible (proper scale setting < 30,000,000)
       # in order for the palette controls to be visible.
       vmapPol.attribute=na2
       # How the attributes should be displayed, either 'label', 'tooltip', or 'information line'
       vmapPol.attributeDisplay=label

       #------------------------------------
       # End of properties for a VMAP political layer
       #------------------------------------

       ### Now a VMAP Coastline layer
       vmapCoast.class=com.bbn.openmap.layer.vpf.VPFLayer
       vmapCoast.prettyName=VMAP Coastline Layer
       vmapCoast.vpfPath=/u5/vmap/vmaplv0
       ## a predefined layer from the VPF predefined layer set found in
       ## com/bbn/openmap/layer/vpf/defaultVPFLayers.properties
       vmapCoast.defaultLayer=vmapCoastline

       ### Now a DCW Political layer
       # Basic political boundaries with DCW
       dcwPolitical.class=com.bbn.openmap.layer.vpf.VPFLayer
       dcwPolitical.prettyName=DCW Political Boundaries
       dcwPolitical.vpfPath=path to data
       dcwPolitical.coverageType=po
       dcwPolitical.featureTypes=edge area

See Also:
  Serialized Form

Nested Class Summary

Nested classes inherited from class javax.swing.JComponent
`javax.swing.JComponent.AccessibleJComponent`

Nested classes inherited from class java.awt.Container
`java.awt.Container.AccessibleAWTContainer`

Nested classes inherited from class java.awt.Component
`java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy`

Field Summary
`static java.lang.String` `ConfigCmd`
`protected WindowSupport` `configWindowSupport`
`protected java.lang.String` `coverageType` the coverage type that we display
`static java.lang.String` `coverageTypeProperty` property extension used to set the desired coverage type.
`protected int` `cutoffScale`
`static java.lang.String` `cutoffScaleProperty` Property for setting VPF cutoff scale
`protected java.lang.String[]` `dataPaths` the path to the root VPF directory
`static java.lang.String` `defaultLayerProperty` property extension used to specify a default property set
`static java.lang.String` `featureTypesProperty` Property extension used to set the desired feature types.
`protected java.lang.String` `libraryBeanName` the name of the data bean to look for in beancontext
`protected java.lang.String` `libraryName` the library name to focus on
`static java.lang.String` `LibraryNameProperty` Property for setting VPF library name to use
`static java.lang.String` `libraryProperty` Property method for setting VPF data path
`protected LibrarySelectionTable` `lst` the object that knows all the nitty-gritty vpf stuff
`static java.lang.String` `pathProperty` property extension used to set the VPF root directory
`protected java.lang.String` `prefix` hang onto prefix used to initialize warehouse in setProperties()
`protected java.util.Properties` `props` hang onto properties file used to initialize warehouse
`static java.lang.String` `searchByFeatureProperty` Property that lets you search for graphics via feature type.
`protected boolean` `searchByFeatures` are we searching by feature table (true) or tile (false)
`protected LayerGraphicWarehouseSupport` `warehouse` our own little graphics factory

Fields inherited from class com.bbn.openmap.layer.OMGraphicHandlerLayer
`consumeEvents, ConsumeEventsProperty, filter, interruptable, InterruptableProperty, layerWorker, LAYERWORKER_LOCK, mouseEventInterpreter, mouseModeIDs, MouseModesProperty, projectionChangePolicy, ProjectionChangePolicyProperty, renderPolicy, RenderPolicyProperty, selectedList, TransparencyProperty`

Fields inherited from class com.bbn.openmap.Layer

`addAsBackground, AddAsBackgroundProperty, addToBeanContext, AddToBeanContextProperty, attributes, autoPalette, AutoPaletteProperty, beanContextChildSupport, DisplayPaletteCmd, DisplayPropertiesCmd, doHack, HidePaletteCmd, i18n, IDListeners, localHackList, lsListeners, maxScale, MaxScaleProperty, minScale, MinScaleProperty, palette, paletteListener, PrettyNameProperty, propertyPrefix, RedrawCmd, removable, RemovableProperty, SWING_PACKAGE, windowSupport`

Fields inherited from class javax.swing.JComponent
`accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW`

Fields inherited from class java.awt.Component
`BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT`

Fields inherited from interface com.bbn.openmap.PropertyConsumer
`EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty`

Fields inherited from interface java.awt.image.ImageObserver
`ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH`

Constructor Summary
`VPFLayer()` Construct a VPF layer.
`VPFLayer(java.lang.String name)` Construct a VPFLayer, and sets its name.

Method Summary
`void` `actionPerformed(java.awt.event.ActionEvent e)` The default actionPerformed method for Layer.
`void` `checkWarehouse(boolean sbf)` If the warehouse gets set as a result of this method being called, the properties will beed to be reset on it.
`void` `computeLayer()` Deprecated. use doPrepare() instead of computeLayer();
`boolean` `getAreasEnabled()` Find out if areas are enabled.
`boolean` `getCPointsEnabled()` Find out if connected points are enabled.
`java.lang.String` `getDataTypes()` Get the current coverage type.
`static java.util.Properties` `getDefaultProperties()` Return our default properties for vpf land.
`DrawingAttributes` `getDrawingAttributes()` Get the DrawingAttributes used for the coverage type.
`boolean` `getEdgesEnabled()` Find out if edges are enabled.
`boolean` `getEPointsEnabled()` Find out if entity points are enabled.
`java.awt.Component` `getGUI()` Gets the palette associated with the layer.
`java.lang.String` `getInfoText(OMGraphic omg)` If applicable, should return a short, informational string about the OMGraphic to be displayed in the InformationDelegator.
`java.lang.String[]` `getPath()` Returns the list of paths we use to look for data.
`java.util.Properties` `getProperties(java.util.Properties props)` Overrides Layer getProperties method., also calls that method on Layer.
`OMGraphicList` `getRectangle()` Deprecated. use prepare() instead of getRectangle();
`boolean` `getTextEnabled()` Find out if text is enabled.
`java.lang.String` `getToolTipTextFor(OMGraphic omg)` If applicable, should return a tool tip for the OMGraphic.
`LayerGraphicWarehouseSupport` `getWarehouse()`
`protected void` `initLST()` initialize the library selection table.
`OMGraphicList` `prepare()` Create the OMGraphicList to use on the map.
`void` `setAreasEnabled(boolean value)` Enable/Disable the display of areas.
`protected void` `setConfigSettings(java.lang.String prefix, java.util.Properties props)`
`void` `setCPointsEnabled(boolean value)` Enable/Disable the display of connected points.
`void` `setDataTypes(java.lang.String dataTypes)` Set the coveragetype of the layer.
`void` `setDrawingAttributes(DrawingAttributes da)` Set the drawing attributes for the coverage type.
`void` `setEdgesEnabled(boolean value)` Enable/Disable the display of edges.
`void` `setEPointsEnabled(boolean value)` Enable/Disable the display of entity points.
`void` `setFeatures(java.lang.String features)` Sets the features (lines, areas, text, points) that get displayed.
`void` `setPath(java.lang.String newPath)` Set the data path to a single place.
`void` `setPath(java.lang.String[] newPaths)` Set the data path to multiple places.
`void` `setProperties(java.lang.String prefix, java.util.Properties props)` Another way to set the parameters of the DcwLayer.
`void` `setTextEnabled(boolean value)` Enable/Disable the display of text.
`void` `setWarehouse(LayerGraphicWarehouseSupport wh)`

Methods inherited from class com.bbn.openmap.layer.OMGraphicHandlerLayer

`canSetList, copy, createLayerWorker, cut, deselect, doAction, doPrepare, filter, filter, filter, getConsumeEvents, getFilter, getItemsForMapMenu, getItemsForOMGraphicMenu, getLayerWorker, getList, getMapMouseListener, getMouseEventInterpreter, getMouseModeIDsForEvents, getProjectionChangePolicy, getPropertyInfo, getRenderPolicy, getSelected, getTransparency, getTransparencyAdjustmentPanel, highlight, interrupt, isCancelled, isHighlightable, isInterruptable, isSelectable, isWorking, leftClick, mouseOver, paint, paste, projectionChanged, receivesMapEvents, renderDataForProjection, resetFiltering, select, setCancelled, setConsumeEvents, setFilter, setInterruptable, setLayerWorker, setList, setMouseEventInterpreter, setMouseModeIDsForEvents, setProjectionChangePolicy, setRenderPolicy, setTransparency, supportsSQL, unhighlight, workerComplete`

Methods inherited from class com.bbn.openmap.Layer

`addComponentListener, added, addInfoDisplayListener, addLayerStatusListener, addMouseListener, addVetoableChangeListener, childrenAdded, childrenRemoved, clearListeners, connectToBeanContext, createWindowSupport, finalize, findAndInit, findAndInit, findAndUndo, fireHideToolTip, firePaletteEvent, fireRequestBrowserContent, fireRequestBrowserContent, fireRequestCursor, fireRequestInfoLine, fireRequestInfoLine, fireRequestInfoLine, fireRequestMessage, fireRequestMessage, fireRequestToolTip, fireRequestToolTip, fireRequestURL, fireRequestURL, fireStatusUpdate, fireStatusUpdate, fireVetoableChange, getAddAsBackground, getAddToBeanContext, getAttribute, getBeanContext, getIcon, getMaxScale, getMinScale, getPackage, getPalette, getProjection, getPropertyPrefix, getWindowSupport, hasGUI, hidePalette, isAutoPalette, isProjectionOK, isRemovable, notifyHideHack, putAttribute, removeComponentListener, removeConfirmed, removed, removeInfoDisplayListener, removeLayerStatusListener, removeVetoableChangeListener, repaint, resetPalette, setAddAsBackground, setAddToBeanContext, setAutoPalette, setBeanContext, setIcon, setMaxScale, setMinScale, setName, setPaletteVisible, setProjection, setProjection, setProperties, setPropertyPrefix, setRemovable, setVisible, setWindowSupport, showPalette`

Methods inherited from class javax.swing.JComponent

`addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update, updateUI`

Methods inherited from class java.awt.Container

`add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree`

Methods inherited from class java.awt.Component

`action, add, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface com.bbn.openmap.event.ProjectionListener
`projectionChanged`

Methods inherited from interface java.beans.beancontext.BeanContextChild
`addPropertyChangeListener, removePropertyChangeListener`

Field Detail

### pathProperty

    public static final java.lang.String pathProperty

  property extension used to set the VPF root directory

  See Also:
    Constant Field Values

### coverageTypeProperty

    public static final java.lang.String coverageTypeProperty

  property extension used to set the desired coverage type. Examples of coverage types inclue "po" for DCW and "hyd" for VMAP Level 0.

  See Also:
    Constant Field Values

### featureTypesProperty

    public static final java.lang.String featureTypesProperty

  Property extension used to set the desired feature types. e.g. line area text

  See Also:
    Constant Field Values

### defaultLayerProperty

    public static final java.lang.String defaultLayerProperty

  property extension used to specify a default property set

  See Also:
    Constant Field Values

### searchByFeatureProperty

    public static final java.lang.String searchByFeatureProperty

  Property that lets you search for graphics via feature type. Dangerously slow for features that have many graphics spread out over several tiles. Set to true to search by feature, false (default) to get the tiles first, and then look for graphics.

  See Also:
    Constant Field Values

### libraryProperty

    public static final java.lang.String libraryProperty

  Property method for setting VPF data path

  See Also:
    Constant Field Values

### cutoffScaleProperty

    public static final java.lang.String cutoffScaleProperty

  Property for setting VPF cutoff scale

  See Also:
    Constant Field Values

### LibraryNameProperty

    public static final java.lang.String LibraryNameProperty

  Property for setting VPF library name to use

  See Also:
    Constant Field Values

### lst

    protected transient LibrarySelectionTable lst

  the object that knows all the nitty-gritty vpf stuff

### warehouse

    protected transient LayerGraphicWarehouseSupport warehouse

  our own little graphics factory

### searchByFeatures

    protected boolean searchByFeatures

  are we searching by feature table (true) or tile (false)

### libraryBeanName

    protected java.lang.String libraryBeanName

  the name of the data bean to look for in beancontext

### prefix

    protected java.lang.String prefix

  hang onto prefix used to initialize warehouse in setProperties()

### props

    protected java.util.Properties props

  hang onto properties file used to initialize warehouse

### dataPaths

    protected java.lang.String[] dataPaths

  the path to the root VPF directory

### coverageType

    protected java.lang.String coverageType

  the coverage type that we display

### cutoffScale

    protected int cutoffScale

### libraryName

    protected java.lang.String libraryName

  the library name to focus on

### ConfigCmd

    public static final java.lang.String ConfigCmd

See Also:
  Constant Field Values

### configWindowSupport

    protected WindowSupport configWindowSupport

Constructor Detail

### VPFLayer

    public VPFLayer()

  Construct a VPF layer.

### VPFLayer

    public VPFLayer(java.lang.String name)

  Construct a VPFLayer, and sets its name.

Parameters:
  `name` - the name of the layer.

Method Detail

### setFeatures

    public void setFeatures(java.lang.String features)

  Sets the features (lines, areas, text, points) that get displayed.

  Parameters:
    `features` - a whitespace-separated list of features to display.

### setProperties

    public void setProperties(java.lang.String prefix,
                              java.util.Properties props)

  Another way to set the parameters of the DcwLayer.

  Specified by:
    `setProperties` in interface `PropertyConsumer`
  Overrides:
    `setProperties` in class `OMGraphicHandlerLayer`
  Parameters:
    `prefix` - the token to prefix the property names
    `props` - the `Properties` object
  See Also:
    `pathProperty`, `coverageTypeProperty`, `featureTypesProperty`

### getProperties

    public java.util.Properties getProperties(java.util.Properties props)

  Description copied from class: `OMGraphicHandlerLayer`
  Overrides Layer getProperties method., also calls that method on Layer. Sets the properties from the policy objects used by this OMGraphicHandler layer.

  Specified by:
    `getProperties` in interface `PropertyConsumer`
  Overrides:
    `getProperties` in class `OMGraphicHandlerLayer`

### getDefaultProperties

    public static java.util.Properties getDefaultProperties()

  Return our default properties for vpf land.

### setPath

    public void setPath(java.lang.String newPath)

  Set the data path to a single place.

### setPath

    public void setPath(java.lang.String[] newPaths)

  Set the data path to multiple places.

### getPath

    public java.lang.String[] getPath()

  Returns the list of paths we use to look for data.

  Returns:
    the list of paths. Don't modify the array!

### setDataTypes

    public void setDataTypes(java.lang.String dataTypes)

  Set the coveragetype of the layer.

  Parameters:
    `dataTypes` - the coveragetype to display.

### getDataTypes

    public java.lang.String getDataTypes()

  Get the current coverage type.

  Returns:
    the current coverage type.

### setAreasEnabled

    public void setAreasEnabled(boolean value)

  Enable/Disable the display of areas.

### getAreasEnabled

    public boolean getAreasEnabled()

  Find out if areas are enabled.

### setEdgesEnabled

    public void setEdgesEnabled(boolean value)

  Enable/Disable the display of edges.

### getEdgesEnabled

    public boolean getEdgesEnabled()

  Find out if edges are enabled.

### setEPointsEnabled

    public void setEPointsEnabled(boolean value)

  Enable/Disable the display of entity points.

### getEPointsEnabled

    public boolean getEPointsEnabled()

  Find out if entity points are enabled.

### setCPointsEnabled

    public void setCPointsEnabled(boolean value)

  Enable/Disable the display of connected points.

### getCPointsEnabled

    public boolean getCPointsEnabled()

  Find out if connected points are enabled.

### setTextEnabled

    public void setTextEnabled(boolean value)

  Enable/Disable the display of text.

### getTextEnabled

    public boolean getTextEnabled()

  Find out if text is enabled.

### getDrawingAttributes

    public DrawingAttributes getDrawingAttributes()

  Get the DrawingAttributes used for the coverage type.

### setDrawingAttributes

    public void setDrawingAttributes(DrawingAttributes da)

  Set the drawing attributes for the coverage type.

### initLST

    protected void initLST()

  initialize the library selection table.

### setWarehouse

    public void setWarehouse(LayerGraphicWarehouseSupport wh)

### getWarehouse

    public LayerGraphicWarehouseSupport getWarehouse()

### checkWarehouse

    public void checkWarehouse(boolean sbf)

  If the warehouse gets set as a result of this method being called, the properties will beed to be reset on it.

  Parameters:
    `sbf` - Search by features.

### computeLayer

    public void computeLayer()

  Deprecated. use doPrepare() instead of computeLayer();

  Use doPrepare() method instead. This was the old method call to do the same thing doPrepare is now doing, from the OMGraphicHandler superclass. doPrepare() launches a thread to do the work.

### getRectangle

    public OMGraphicList getRectangle()

  Deprecated. use prepare() instead of getRectangle();

  Use prepare instead. This was the old method call to do the same thing prepare() is now doing.

### prepare

    public OMGraphicList prepare()

  Create the OMGraphicList to use on the map. OMGraphicHandler methods call this.

  Overrides:
    `prepare` in class `OMGraphicHandlerLayer`

### getGUI

    public java.awt.Component getGUI()

  Gets the palette associated with the layer.

  Overrides:
    `getGUI` in class `Layer`
  Returns:
    Component or null

### actionPerformed

    public void actionPerformed(java.awt.event.ActionEvent e)

  Description copied from class: `Layer`
  The default actionPerformed method for Layer. Make sure you call super.actionPerformed if you care about receiving palette show/hide commands. This method is also set up to receive the DisplayPropertiesCmd, and will bring up the Inspector for the layer.

  Specified by:
    `actionPerformed` in interface `java.awt.event.ActionListener`
  Overrides:
    `actionPerformed` in class `Layer`

### setConfigSettings

    protected void setConfigSettings(java.lang.String prefix,
                                     java.util.Properties props)

### getToolTipTextFor

    public java.lang.String getToolTipTextFor(OMGraphic omg)

  Description copied from class: `OMGraphicHandlerLayer`
  If applicable, should return a tool tip for the OMGraphic. Return null if nothing should be shown.

  Specified by:
    `getToolTipTextFor` in interface `GestureResponsePolicy`
  Overrides:
    `getToolTipTextFor` in class `OMGraphicHandlerLayer`

### getInfoText

    public java.lang.String getInfoText(OMGraphic omg)

  Description copied from class: `OMGraphicHandlerLayer`
  If applicable, should return a short, informational string about the OMGraphic to be displayed in the InformationDelegator. Return null if nothing should be displayed.

  Specified by:
    `getInfoText` in interface `GestureResponsePolicy`
  Overrides:
    `getInfoText` in class `OMGraphicHandlerLayer`

Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details