Class GeoObjectWrapper<T>
java.lang.Object
io.jmix.mapsui.component.leaflet.translators.GeoObjectWrapper<T>
Wrapper containing the underlying leaflet component corresponding to the geo-object.
Instances of GeoObjectWrapper
exist only for geo-objects with non-null geometry.
Wrappers are updated after layer refresh.
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.vaadin.shared.Registration
protected ContextMenu
protected com.vaadin.shared.Registration
protected T
protected VectorLayerHolder<T>
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
Closes popup of the geo-object.abstract void
Closes tooltip of the geo-object.protected abstract void
deselect()
abstract GeoType
abstract AbstractLeafletLayer
protected boolean
abstract void
Opens popup of the geo-object if popup content is specified for the geo-object.abstract void
Opens tooltip of the geo-object if tooltip content is specified for the geo-object.protected abstract void
select()
protected void
protected abstract void
setGeometry
(org.locationtech.jts.geom.Geometry geometry) abstract GeoObjectWrapper<T>
setPopupContent
(String popupContent) abstract GeoObjectWrapper<T>
setPopupOptions
(PopupWindowOptions options) abstract GeoObjectWrapper<T>
setStyle
(GeometryStyle style) abstract GeoObjectWrapper<T>
setTooltipContent
(String tooltipContent) abstract GeoObjectWrapper<T>
setTooltipOptions
(TooltipOptions options)
-
Field Details
-
entity
-
property
-
layerHolder
-
clickListenerRegistration
protected com.vaadin.shared.Registration clickListenerRegistration -
contextMenuListenerRegistration
protected com.vaadin.shared.Registration contextMenuListenerRegistration -
contextMenu
-
-
Constructor Details
-
GeoObjectWrapper
-
-
Method Details
-
setStyle
-
setPopupContent
-
setPopupOptions
-
setTooltipContent
-
setTooltipOptions
-
select
protected abstract void select() -
deselect
protected abstract void deselect() -
getLeafletComponent
-
setGeometry
protected abstract void setGeometry(org.locationtech.jts.geom.Geometry geometry) -
setEntity
-
getEntity
-
isEditable
protected boolean isEditable() -
getGeoType
-
openPopup
public abstract void openPopup()Opens popup of the geo-object if popup content is specified for the geo-object. -
openTooltip
public abstract void openTooltip()Opens tooltip of the geo-object if tooltip content is specified for the geo-object. -
closePopup
public abstract void closePopup()Closes popup of the geo-object. -
closeTooltip
public abstract void closeTooltip()Closes tooltip of the geo-object.
-