Interface IRectangle
- All Superinterfaces:
ICefObjectWrapper
,ICefObjRef
,IComponentMouseDragEventObject
,IComponentMouseEventObject
,IEditableObject
,IOptionedMapObject<provided.mixedData.MixedDataDictionary>
,IVisibleMapObject
- All Known Subinterfaces:
IRectangleWrapped
public interface IRectangle extends IVisibleMapObject, IEditableObject, IComponentMouseEventObject, IComponentMouseDragEventObject, IOptionedMapObject<provided.mixedData.MixedDataDictionary>
Represents an rectangle drawn on the map oriented along the latitude and longitude lines
This corresponds to a Javascript Google Maps google.maps.Rectangle object
- Author:
- swong
-
Method Summary
Modifier and Type Method Description ILatLngBounds
getBounds()
Get a COPY of the rectangle's boundsvoid
setBounds(ILatLngBounds bounds)
Set the rectangle's boundsvoid
setRectangleEvent(RectangleEventType eventType, java.lang.Runnable eventFn)
Set a RectangleEventType eventMethods inherited from interface provided.owlMaps.cefUtils.ICefObjectWrapper
addEvent, addEvent, call, callVoid, getCefId, getCefProperty, getWrappedCefObject, setCefProperty
Methods inherited from interface provided.owlMaps.mouse.IComponentMouseDragEventObject
setComponentMouseDragEvent
Methods inherited from interface provided.owlMaps.mouse.IComponentMouseEventObject
setComponentMouseEvent
Methods inherited from interface provided.owlMaps.general.IEditableObject
getEditable, setEditable
Methods inherited from interface provided.owlMaps.general.IOptionedMapObject
setOptions
Methods inherited from interface provided.owlMaps.general.IVisibleMapObject
getVisible, setVisible
-
Method Details
-
getBounds
ILatLngBounds getBounds()Get a COPY of the rectangle's bounds- Returns:
- An ILatLngBounds object
-
setBounds
Set the rectangle's bounds- Parameters:
bounds
- The new bounds as an ILatLngBounds object
-
setRectangleEvent
Set a RectangleEventType event- Parameters:
eventType
- The type of event being seteventFn
- The callback to use when the event is invoked.
-