|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.app.OpenMap com.bbn.openmap.app.Main
public class Main
A Main application class using the OpenMap framework. This class is like the OpenMap application class except it uses the new OverlayMapPanel instead of the BasicMapPanel. The property prefix used for the properties is "main", so this application is configured based on the main.components property list.
Field Summary |
---|
Fields inherited from class com.bbn.openmap.app.OpenMap |
---|
mapPanel |
Constructor Summary | |
---|---|
Main()
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. |
|
Main(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. |
Method Summary | |
---|---|
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 Main |
create()
Create and return an OpenMap object that uses a standard PropertyHandler to configure itself. |
static Main |
create(java.lang.String propertiesFile)
Create and return an OpenMap object that uses a standard PropertyHandler to configure itself. |
protected static java.util.logging.Logger |
getLogger()
get the logger |
static void |
main(java.lang.String[] args)
A Main OpenMap application. |
Methods inherited from class com.bbn.openmap.app.OpenMap |
---|
getMapHandler, getMapPanel, setWindowListenerOnFrame, showInFrame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Main()
public Main(PropertyHandler propertyHandler)
Method Detail |
---|
protected void configureMapPanel(PropertyHandler propertyHandler)
configureMapPanel
in class OpenMap
public static PropertyHandler configurePropertyHandler(java.lang.String propertiesFile)
propertiesFile
- path to properties file
public static Main create()
OpenMap.getMapHandler()
public static Main create(java.lang.String propertiesFile)
propertiesFile
- path to properties file
OpenMap.getMapHandler()
public static void main(java.lang.String[] args)
protected static java.util.logging.Logger getLogger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |