Package provided.owlMaps.components
Interface IMapComponentFactory
public interface IMapComponentFactory
Factory for components tied to a specific map.
In general, unless otherwise specified, components will be constructed NOT visible
as this enables "pre-construction" of components before they are used.
Map components are NOT Serializable and MUST be created on the target machine!
THIS FACTORY *MUST* BE MADE BY AN OwlMapControl INSTANCE *AFTER* THE MAP IS CREATED!
DO *NOT* ATTEMPT TO INSTANTIATE THIS FACTORY DIRECTLY!
- Author:
- swong
-
Method Summary
Modifier and Type Method Description ICircle
makeCircle(provided.mixedData.IMixedDataDictionary options)
Create a new ICircle with the given optionsIGroundOverlay
makeGroundOverlay(provided.mixedData.IMixedDataDictionary options)
Create a new IGroundOverlay with the given optionsIInfoWindow
makeInfoWindow(provided.mixedData.IMixedDataDictionary options)
Create a new IInfoWindow with the given optionsIMarker
makeMarker(provided.mixedData.IMixedDataDictionary options)
Create a new IMarker with the given optionsIPolygon
makePolygon(provided.mixedData.IMixedDataDictionary options)
Create a new IPolygon with the given optionsIPolyline
makePolyline(provided.mixedData.IMixedDataDictionary options)
Create a new IPolyline with the given optionsIRectangle
makeRectangle(provided.mixedData.IMixedDataDictionary options)
Create a new IRectangle with the given options
-
Method Details
-
makeMarker
IMarker makeMarker(provided.mixedData.IMixedDataDictionary options) throws java.lang.ClassNotFoundExceptionCreate a new IMarker with the given options- Parameters:
options
- Options dictionary for the component with IMarkerOptions entries- Returns:
- An instance of the component
- Throws:
java.lang.ClassNotFoundException
- if an option is requesting an unknown option type
-
makeInfoWindow
IInfoWindow makeInfoWindow(provided.mixedData.IMixedDataDictionary options) throws java.lang.ClassNotFoundExceptionCreate a new IInfoWindow with the given options- Parameters:
options
- Options dictionary for the component with IInfoWindowOptions entries- Returns:
- An instance of the component
- Throws:
java.lang.ClassNotFoundException
- if an option is requesting an unknown option type
-
makePolygon
IPolygon makePolygon(provided.mixedData.IMixedDataDictionary options) throws java.lang.ClassNotFoundExceptionCreate a new IPolygon with the given options- Parameters:
options
- Options dictionary for the component with IPolygonOptions entries- Returns:
- An instance of the component
- Throws:
java.lang.ClassNotFoundException
- if an option is requesting an unknown option type
-
makePolyline
IPolyline makePolyline(provided.mixedData.IMixedDataDictionary options) throws java.lang.ClassNotFoundExceptionCreate a new IPolyline with the given options- Parameters:
options
- Options dictionary for the component with IPolylineOptions entries- Returns:
- An instance of the component
- Throws:
java.lang.ClassNotFoundException
- if an option is requesting an unknown option type
-
makeRectangle
IRectangle makeRectangle(provided.mixedData.IMixedDataDictionary options) throws java.lang.ClassNotFoundExceptionCreate a new IRectangle with the given options- Parameters:
options
- Options dictionary for the component with IRectangleOptions entries- Returns:
- An instance of the component
- Throws:
java.lang.ClassNotFoundException
- if an option is requesting an unknown option type
-
makeCircle
ICircle makeCircle(provided.mixedData.IMixedDataDictionary options) throws java.lang.ClassNotFoundExceptionCreate a new ICircle with the given options- Parameters:
options
- Options dictionary for the component with ICircleOptions entries- Returns:
- An instance of the component
- Throws:
java.lang.ClassNotFoundException
- if an option is requesting an unknown option type
-
makeGroundOverlay
IGroundOverlay makeGroundOverlay(provided.mixedData.IMixedDataDictionary options) throws java.lang.ClassNotFoundExceptionCreate a new IGroundOverlay with the given options- Parameters:
options
- Options dictionary for the component with IGroundOverlayOptions entries- Returns:
- An instance of the component
- Throws:
java.lang.ClassNotFoundException
- if an option is requesting an unknown option type
-