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
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.shared.Registrationprotected ContextMenuprotected com.vaadin.shared.Registrationprotected Tprotected VectorLayerHolder<T>protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidCloses popup of the geo-object.abstract voidCloses tooltip of the geo-object.protected abstract voiddeselect()abstract GeoTypeabstract AbstractLeafletLayerprotected booleanabstract voidOpens popup of the geo-object if popup content is specified for the geo-object.abstract voidOpens tooltip of the geo-object if tooltip content is specified for the geo-object.protected abstract voidselect()protected voidprotected abstract voidsetGeometry(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.
-