public class Configuration extends Object
| Constructor and Description |
|---|
Configuration()
|
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
createDefaultConfiguration()
Create a default osm-based configuration.
|
String |
getDockingFramesTheme()
|
int |
getHeight()
|
double |
getLat()
|
double |
getLon()
|
String |
getLookAndFeel()
|
Path |
getPathDatabase()
|
List |
getTileConfigs()
|
List |
getTileConfigsOverlay()
|
int |
getWidth()
|
int |
getZoom()
|
boolean |
isOnline()
|
boolean |
isShowCrosshair()
|
boolean |
isShowGeometryManager()
|
boolean |
isShowGrid()
|
boolean |
isShowMapWindowDialog()
|
boolean |
isShowOverlay()
|
boolean |
isShowSelectionPolyDialog()
|
boolean |
isShowSelectionRectDialog()
|
boolean |
isShowTileNumbers()
|
void |
setDockingFramesTheme(String
|
void |
setHeight(int height)
|
void |
setLat(double lat)
|
void |
setLon(double lon)
|
void |
setLookAndFeel(String
|
void |
setOnline(boolean isOnline)
|
void |
setPathDatabase(Path
|
void |
setShowCrosshair(boolean showCrosshair)
|
void |
setShowGeometryManager(boolean showGeometryManager)
|
void |
setShowGrid(boolean showGrid)
|
void |
setShowMapWindowDialog(boolean showMapWindowDialog)
|
void |
setShowOverlay(boolean showOverlay)
|
void |
setShowSelectionPolyDialog(boolean showSelectionPolyDialog)
|
void |
setShowSelectionRectDialog(boolean showSelectionRectDialog)
|
void |
setShowTileNumbers(boolean showTileNumbers)
|
void |
setTileConfigs(List
|
void |
setTileConfigsOverlay(List
|
void |
setWidth(int width)
|
void |
setZoom(int zoom)
|
public void setTileConfigs(List<TileConfig > tileConfigs)
tileConfigs - the list of configurations to store.
public List<TileConfig > getTileConfigs()
public void setTileConfigsOverlay(List<TileConfig > tileConfigsOverlay)
tileConfigsOverlay - the list of configurations to store.
public List<TileConfig > getTileConfigsOverlay()
public static ConfigurationcreateDefaultConfiguration()
public int getWidth()
public void setWidth(int width)
width - the width to set
public int getHeight()
public void setHeight(int height)
height - the height to set
public boolean isOnline()
public void setOnline(boolean isOnline)
isOnline - the isOnline to set
public boolean isShowCrosshair()
public void setShowCrosshair(boolean showCrosshair)
showCrosshair - the showCrosshair to set
public boolean isShowGrid()
public void setShowGrid(boolean showGrid)
showGrid - the showGrid to set
public boolean isShowTileNumbers()
public void setShowTileNumbers(boolean showTileNumbers)
showTileNumbers - the showTileNumbers to set
public boolean isShowOverlay()
public void setShowOverlay(boolean showOverlay)
showOverlay - the showOverlay to set
public boolean isShowGeometryManager()
public void setShowGeometryManager(boolean showGeometryManager)
showGeometryManager - the showGeometryManager to set
public boolean isShowSelectionRectDialog()
public boolean isShowSelectionPolyDialog()
public void setShowSelectionRectDialog(boolean showSelectionRectDialog)
showSelectionRectDialog - the showSelectionRectDialog to set
public void setShowSelectionPolyDialog(boolean showSelectionPolyDialog)
showSelectionPolyDialog - the showSelectionPolyDialog to set
public boolean isShowMapWindowDialog()
public void setShowMapWindowDialog(boolean showMapWindowDialog)
showMapWindowDialog - the showMapWindowDialog to set
public double getLon()
public void setLon(double lon)
lon - the lon to set
public double getLat()
public void setLat(double lat)
lat - the lat to set
public int getZoom()
public void setZoom(int zoom)
zoom - the zoom to set
public StringgetLookAndFeel()
public void setLookAndFeel(StringlookAndFeel)
public PathgetPathDatabase()
public void setPathDatabase(PathpathDatabase)
public StringgetDockingFramesTheme()
public void setDockingFramesTheme(StringdockingFramesTheme)