public class LCircle extends AbstractLeafletVector
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
LCircle() |
LCircle(double lat,
double lon,
double radius) |
LCircle(Point point,
double radius) |
LCircle(org.locationtech.jts.geom.Point jtsPoint,
double radius) |
Modifier and Type | Method and Description |
---|---|
org.locationtech.jts.geom.Geometry |
getGeometry() |
Point |
getPoint() |
double |
getRadius() |
protected LeafletCircleState |
getState() |
protected LeafletCircleState |
getState(boolean markAsDirty) |
void |
setPoint(Point point) |
void |
setPointAndRadiusWithoutRepaint(double radius,
Point latLng) |
void |
setRadius(double radius) |
beforeClientResponse, closePopup, closeTooltip, getStyle, openPopup, openTooltip, setBubblingMouseEvents, setClickable, setColor, setDashArray, setFill, setFillColor, setFillOpacity, setLineCap, setLineJoin, setOpacity, setPopup, setPopupState, setStroke, setStyle, setTooltip, setTooltipState, setWeight
addClickListener, addContextMenuListener, addMouseOutListener, addMouseOverListener, bringToBack, bringToFront, setActive
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, focus, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setJTestId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredError, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setJTestId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public LCircle()
public LCircle(double lat, double lon, double radius)
lat
- the latitude of the center of the circlelon
- the longitude of the center of the circleradius
- the radius in meters, note that this is approximate,
especially small zoom levels.public LCircle(Point point, double radius)
point
- the center of the circleradius
- the radius in meters, note that this is approximate,
especially small zoom levels.public LCircle(org.locationtech.jts.geom.Point jtsPoint, double radius)
jtsPoint
- the center of the circleradius
- the radius in meters, note that this is approximate,
especially small zoom levels.protected LeafletCircleState getState()
getState
in class AbstractLeafletVector
protected LeafletCircleState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.AbstractComponent
public void setPoint(Point point)
public void setRadius(double radius)
radius
- the radius in meters, note that this is approximate,
especially small zoom levels.public Point getPoint()
public double getRadius()
public org.locationtech.jts.geom.Geometry getGeometry()
public void setPointAndRadiusWithoutRepaint(double radius, Point latLng)