Interface IOptionedMapObject<TOptions>

Type Parameters:
TOptions - The type of the options object used by the implementor of this interface
All Known Subinterfaces:
ICircle, ICircleWrapped, IGroundOverlay, IGroundOverlayWrapped, IInfoWindow, IInfoWindowWrapped, IMarker, IMarkerWrapped, IPolygon, IPolygonWrapped, IPolyline, IPolylineWrapped, IRectangle, IRectangleWrapped

public interface IOptionedMapObject<TOptions>
FOR INTERNAL USE ONLY!! DEVELOPER CODE SHOULD NEVER DIRECTLY USE THIS INTERFACE! Interface that represents a MapObject whose configuration options be both get and set.
Author:
swong
  • Method Summary

    Modifier and Type Method Description
    void setOptions​(TOptions options)
    Set the options of the entity.
  • Method Details

    • setOptions

      void setOptions​(TOptions options) throws java.lang.ClassNotFoundException
      Set the options of the entity. The given options object is the one that will be returned by the getOptions() method and may not fully reflect the current state of the entity if the methods on the entity itself were subsequently used to mutate it.
      Parameters:
      options - The TOptions-type options object to configure the entity.
      Throws:
      java.lang.ClassNotFoundException - when an option is not understood