public class MapSet
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Naming<PolygonStyle> |
areaStyles |
Naming |
chainTypes |
Script |
confirmShutdownScript |
Script |
controlGuiScript |
Script |
dataFormatScript |
Script |
editActorScript |
Naming<MapDataIndex> |
findItems |
java.lang.String |
format |
Naming |
graphicGroups |
Naming<ImageStyle> |
imageStyles |
Naming |
jobTypes |
java.lang.String |
label |
Naming<java.lang.String> |
legendAliases |
Naming<Legend> |
legends |
Naming<PolylineStyle> |
lineStyles |
Naming |
links |
Naming |
locationTypes |
Naming<java.util.List<java.lang.String>> |
menus |
java.lang.String |
name |
Script |
noSelectionScript |
java.lang.String |
path |
Naming<PointStyle> |
pointStyles |
Naming<java.lang.String> |
printableStyles |
Script |
selectedDataPanelScript |
Naming<TextStyle> |
textStyles |
TranslationPipelineConfig |
translationPipelineConfig |
| Constructor and Description |
|---|
MapSet(java.lang.String name)
Builds and loads itself based on the given name.
|
MapSet(java.lang.String name,
java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
MapEditActor |
createEditActor(MapApp app) |
java.io.File |
fileForPath(java.lang.String subpath)
Returns a File object for the given sub-path of this mapset's path.
|
Script |
getConfirmShutdownScript()
Returns the script run prior to shutdown tasks.
|
javax.swing.JComponent |
getControlGui(MapApp app) |
MapDataTypeActionLookup |
getDataPanelActions() |
java.util.List<java.lang.String> |
getDataTypePriority() |
VfsDirectory |
getDirectory() |
java.lang.String |
getFormat()
The storage format used by this mapset for its rover data.
|
Naming |
getGraphicGroups() |
java.lang.String |
getLabel() |
Naming<java.lang.String> |
getLegendAliases() |
MapSetLogic |
getLogic() |
VfsFile |
getManual() |
Naming<java.util.List<java.lang.String>> |
getMenus() |
Module |
getModule()
The module this mapset is associated with (as named in info/module.txt).
|
VfsDirectory |
getModuleMapsetDirectory() |
java.lang.String |
getName() |
java.lang.String |
getPath() |
ProductBranding |
getProductBranding() |
VfsDirectory |
getPublishedDirectory() |
ScriptKeeper |
getScripts()
Returns the ScriptKeeper for this mapset.
|
Naming<java.lang.Object> |
getSettings()
Returns the settings from settings.xml.
|
Naming<java.lang.Object> |
getVariables()
The variables are a place to put run-time data and communicate between
scripts.
|
java.lang.String |
getVersion() |
MapDataTypeActionLookup |
getWheelMenuActions() |
boolean |
hasManual() |
boolean |
hasProductBranding() |
void |
initialize(MapApp app) |
boolean |
isEphemera()
Returns true if this is the special Ephemera map set.
|
boolean |
isFieldHidden(java.lang.String dataType,
java.lang.String field) |
Legend |
legendFor(java.lang.String legendName)
Does a little more digging than legendNamed() does, including navigating
aliases and grabbing the default if it exists.
|
Legend |
legendNamed(java.lang.String legendName) |
void |
reload()
Only called by RoverSet.reload().
|
LegendScaleRegion |
scaleRegionFor(java.lang.String legendName,
double scale) |
void |
setDataTypePriority(java.util.List<java.lang.String> newPriority) |
java.lang.String |
toString()
Returns the name of the mapset.
|
void |
translate(MapApp app,
DynamicMapTranslator translator) |
void |
translateFromSpools(MapApp app,
DynamicMapTranslator translator) |
public java.lang.String name
public java.lang.String label
public java.lang.String path
public java.lang.String format
public Naming<java.lang.String> legendAliases
public Naming<java.util.List<java.lang.String>> menus
public Naming<MapDataIndex> findItems
public Naming links
public Naming graphicGroups
public Naming<PolygonStyle> areaStyles
public Naming<PolylineStyle> lineStyles
public Naming<ImageStyle> imageStyles
public Naming<PointStyle> pointStyles
public Naming<java.lang.String> printableStyles
public Naming jobTypes
public Naming chainTypes
public Naming locationTypes
public TranslationPipelineConfig translationPipelineConfig
public Script dataFormatScript
public Script selectedDataPanelScript
public Script noSelectionScript
public Script confirmShutdownScript
public Script editActorScript
public Script controlGuiScript
public MapSet(java.lang.String name)
throws java.io.IOException
java.io.IOExceptionpublic MapSet(java.lang.String name,
java.lang.String path)
throws java.io.IOException
java.io.IOExceptionpublic void initialize(MapApp app)
public java.lang.String getName()
public java.lang.String getPath()
public Naming<java.lang.String> getLegendAliases()
public Naming<java.util.List<java.lang.String>> getMenus()
public Naming getGraphicGroups()
public boolean hasProductBranding()
public ProductBranding getProductBranding()
public boolean hasManual()
public VfsFile getManual()
public java.lang.String getVersion()
public boolean isEphemera()
public Naming<java.lang.Object> getSettings()
public void translate(MapApp app, DynamicMapTranslator translator) throws java.io.IOException
java.io.IOExceptionpublic void translateFromSpools(MapApp app, DynamicMapTranslator translator) throws java.io.IOException
java.io.IOExceptionpublic Naming<java.lang.Object> getVariables()
public void reload()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.io.File fileForPath(java.lang.String subpath)
public VfsDirectory getDirectory()
public MapEditActor createEditActor(MapApp app)
public javax.swing.JComponent getControlGui(MapApp app)
public Script getConfirmShutdownScript()
public ScriptKeeper getScripts()
public Module getModule()
public java.lang.String getFormat()
public VfsDirectory getModuleMapsetDirectory()
public VfsDirectory getPublishedDirectory()
public MapSetLogic getLogic()
public java.lang.String getLabel()
public java.util.List<java.lang.String> getDataTypePriority()
public void setDataTypePriority(java.util.List<java.lang.String> newPriority)
public boolean isFieldHidden(java.lang.String dataType,
java.lang.String field)
public MapDataTypeActionLookup getWheelMenuActions()
public MapDataTypeActionLookup getDataPanelActions()
public LegendScaleRegion scaleRegionFor(java.lang.String legendName, double scale)
public Legend legendFor(java.lang.String legendName)
public Legend legendNamed(java.lang.String legendName)