com.partnersoft.v3x.apps.MapBrowser
Class MapLib

java.lang.Object
  extended by com.partnersoft.v3x.apps.MapBrowser.MapLib

public class MapLib
extends java.lang.Object

Handles menial tasks like loading a MapViewSpace in a standard way.


Constructor Summary
MapLib()
           
 
Method Summary
static java.util.ArrayList getAvailableViewNames()
           
static MapViewSpace loadErrorSpace()
           
static void loadErrorSpace(MapViewSpace spacely)
           
static void loadSpace(MapViewSpace spacely, java.io.File mapControlFile)
          Loads the given MapViewSpace with stuff from the given directory.
static void loadSpace(MapViewSpace spacely, java.io.File mapControlFile, boolean noErrorMap)
          Loads the given MapViewSpace with stuff from the given directory.
static void loadSpace(MapViewSpace spacely, java.lang.String viewName)
          Loads the given MapViewSpace's background with the named view (from MapViewer/config/customer/views/).
static MapViewSpace loadSpaceFrom(java.io.File dir)
          Builds you a MapViewSpace by loading from the given directory.
static MapViewSpace loadSpaceFrom(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapLib

public MapLib()
Method Detail

getAvailableViewNames

public static java.util.ArrayList getAvailableViewNames()

loadSpaceFrom

public static MapViewSpace loadSpaceFrom(java.lang.String path)

loadSpaceFrom

public static MapViewSpace loadSpaceFrom(java.io.File dir)
Builds you a MapViewSpace by loading from the given directory.


loadSpace

public static void loadSpace(MapViewSpace spacely,
                             java.io.File mapControlFile)
Loads the given MapViewSpace with stuff from the given directory. Useful for custom spaces.


loadSpace

public static void loadSpace(MapViewSpace spacely,
                             java.lang.String viewName)
Loads the given MapViewSpace's background with the named view (from MapViewer/config/customer/views/). Reloads it if the space already had a background.


loadSpace

public static void loadSpace(MapViewSpace spacely,
                             java.io.File mapControlFile,
                             boolean noErrorMap)
Loads the given MapViewSpace with stuff from the given directory. Useful for custom spaces.


loadErrorSpace

public static void loadErrorSpace(MapViewSpace spacely)

loadErrorSpace

public static MapViewSpace loadErrorSpace()