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 options
    IGroundOverlay makeGroundOverlay​(provided.mixedData.IMixedDataDictionary options)
    Create a new IGroundOverlay with the given options
    IInfoWindow makeInfoWindow​(provided.mixedData.IMixedDataDictionary options)
    Create a new IInfoWindow with the given options
    IMarker makeMarker​(provided.mixedData.IMixedDataDictionary options)
    Create a new IMarker with the given options
    IPolygon makePolygon​(provided.mixedData.IMixedDataDictionary options)
    Create a new IPolygon with the given options
    IPolyline makePolyline​(provided.mixedData.IMixedDataDictionary options)
    Create a new IPolyline with the given options
    IRectangle 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.ClassNotFoundException
      Create 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.ClassNotFoundException
      Create 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.ClassNotFoundException
      Create 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.ClassNotFoundException
      Create 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.ClassNotFoundException
      Create 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.ClassNotFoundException
      Create 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.ClassNotFoundException
      Create 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