public class OpenMap
extends java.lang.Object
Constructor and Description |
---|
OpenMap()
Create a new OpenMap framework object - creates a MapPanel, OpenMapFrame,
and brings up the layer palettes that are being told to be open at
startup.
|
OpenMap(PropertyHandler propertyHandler)
Create a new OpenMap framework object - creates a MapPanel, OpenMapFrame,
and brings up the layer palettes that are being told to be open at
startup.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureMapPanel(PropertyHandler propertyHandler) |
static PropertyHandler |
configurePropertyHandler(java.lang.String propertiesFile)
Given a path to a properties file, try to configure a PropertyHandler
with it.
|
static OpenMap |
create()
Create and return an OpenMap object that uses a standard PropertyHandler
to configure itself.
|
static OpenMap |
create(java.lang.String propertiesFile)
Create and return an OpenMap object that uses a standard PropertyHandler
to configure itself.
|
MapHandler |
getMapHandler()
Get the MapHandler used for the OpenMap object.
|
MapPanel |
getMapPanel()
Get the MapPanel, the container for the OpenMap components.
|
static void |
main(java.lang.String[] args)
The main OpenMap application.
|
protected void |
setWindowListenerOnFrame(OpenMapFrame omf)
A method called internally to set the WindowListener behavior on an
OpenMapFrame used for the OpenMap application.
|
protected void |
showInFrame() |
protected MapPanel mapPanel
public OpenMap()
public OpenMap(PropertyHandler propertyHandler)
protected void configureMapPanel(PropertyHandler propertyHandler)
protected void showInFrame()
protected void setWindowListenerOnFrame(OpenMapFrame omf)
public MapHandler getMapHandler()
public MapPanel getMapPanel()
public static OpenMap create()
getMapHandler()
public static OpenMap create(java.lang.String propertiesFile)
getMapHandler()
public static PropertyHandler configurePropertyHandler(java.lang.String propertiesFile)
public static void main(java.lang.String[] args)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details