public final class TLcyLspMapBackEnd extends Object
TLcyLspMapAddOn
. Its main purpose is to
create and dispose ILcyLspMapComponent
s.Modifier and Type | Method and Description |
---|---|
ILcyLspMapComponent |
createMapComponent()
Short for
createMapComponent(ILcyLspMapComponent.DEFAULT_MAP_TYPE) |
ILcyLspMapComponent |
createMapComponent(String aMapComponentType)
Create an
ILcyApplicationPane containing a new ILcyLspMapComponent of
type aMapComponentType and register the created map component with the
TLcyLspMapManager . |
void |
disposeMapComponent(ILcyLspMapComponent aMapComponent)
Dispose of a
ILcyLspMapComponent and its ILcyApplicationPane . |
public ILcyLspMapComponent createMapComponent()
createMapComponent(ILcyLspMapComponent.DEFAULT_MAP_TYPE)
createMapComponent(String)
public ILcyLspMapComponent createMapComponent(String aMapComponentType)
Create an ILcyApplicationPane
containing a new ILcyLspMapComponent
of
type aMapComponentType
and register the created map component with the
TLcyLspMapManager
. The application pane will be added to the Lucy UI.
Note that this function can be called on a background thread as well as on the Event Dispatch Thread (EDT).
aMapComponentType
- The type of the map component.public void disposeMapComponent(ILcyLspMapComponent aMapComponent)
ILcyLspMapComponent
and its ILcyApplicationPane
. The map
component will be removed from the TLcyLspMapManager
and the application pane from
the Lucy UI.aMapComponent
- the map component to dispose.