public class JeographyGIS extends Object
| Constructor and Description |
|---|
JeographyGIS(Path
Create a Jeography GIS instance.
|
JeographyGIS(Path
Create a Jeography GIS instance.
|
public JeographyGIS(PathconfigFile, Configuration configuration, int tilesIndex, Path pathDatabase, boolean isOnline, boolean showGrid, boolean showTileNumbers, boolean showCrosshair, boolean showOverlay)
configFile - the path to the configuration file in use.
configuration - the configuration to use.
pathDatabase - a path to a SQLite database for place lookup.
isOnline - whether the applications shall use internet connection.
showGrid - whether to show tile borders as grid.
showTileNumbers - whether to show tile numbers.
showCrosshair - whether to show a crosshair in the middle of the viewport.
showOverlay - whether to show the overlay
public JeographyGIS(PathconfigFile, Configuration configuration, int tilesIndex, Path pathDatabase, boolean isOnline, boolean showGrid, boolean showTileNumbers, boolean showCrosshair, boolean showOverlay, int zoom, double lon, double lat)
configFile - the path to the configuration file in use.
configuration - the configuration to use.
pathDatabase - a path to a SQLite database for place lookup.
isOnline - whether the applications shall use internet connection.
showGrid - whether to show tile borders as grid.
showTileNumbers - whether to show tile numbers.
showCrosshair - whether to show a crosshair in the middle of the viewport.
showOverlay - whether to show the overlay
zoom - startup zoom
lon - startup longitude
lat - startup latitude
public void create(int width,
int height,
boolean showGeometryManager,
boolean showSelectionRectDialog,
boolean showSelectionPolyDialog,
boolean showMapWindowDialog)public JPanelgetMainPanel()
public ViewergetViewer()
public JToolBargetToolbar()
public PathgetConfigFile()
public ConfigurationgetConfiguration()
public void setMouseMode(MouseModemode)
mode - the mouse mode to use now.
public MouseModegetMouseMode()
public SelectionAdaptergetSelectionAdapter()
public PolySelectionAdaptergetPolygonalSelectionAdapter()
public EventJDialoggetGeometryManagerDialog()
public bibliothek.gui .dock .common .SingleCDockable getSelectionRectPanelDialog()
public bibliothek.gui .dock .common .SingleCDockable getSelectionPolyPanelDialog()
public bibliothek.gui .dock .common .SingleCDockable getMapWindowPanelDialog()
public boolean isShowGeometryInfo()
public void setShowGeometryInfo(boolean state)
state - whether a click on the viewport should check for intersected geometries of the GeometryManager and report information about those.
public GeometryManagergetGeometryManager()
public OverlayManagergetOverlayManager()
public BookmarksgetBookmarks()
public static void showReallyExitDialog(JFrameframe)
frame - the frame to center the dialog on
public void setConfiguration(Configurationconfiguration)
configuration - the new configuration.
public boolean isShowStatusBar()
public void setShowStatusBar(boolean visible)
visible - whether the status bar should be visible
public boolean isShowToolBar()
public void setShowToolBar(boolean visible)
visible - whether the toolbar should be visible
public void addPropertyChangeListener(PropertyChangeListenerlistener)
public void removePropertyChangeListener(PropertyChangeListenerlistener)
public void createGeometryList()
public void createOperationList(Operationoperation)
public void setDockingFramesTheme(StringdockingFramesTheme)