Class JSNodeMarker
- java.lang.Object
-
- org.discotools.gwt.leaflet.client.jsobject.JSObjectWrapper
-
- org.discotools.gwt.leaflet.client.layers.ILayer
-
- org.discotools.gwt.leaflet.client.marker.Marker
-
- org.opennms.features.vaadin.nodemaps.internal.gwt.client.JSNodeMarker
-
- All Implemented Interfaces:
org.discotools.gwt.leaflet.client.events.handler.EventProvider
,NodeMarker
public class JSNodeMarker extends org.discotools.gwt.leaflet.client.marker.Marker implements NodeMarker
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JSNodeMarker.Property
-
Constructor Summary
Constructors Constructor Description JSNodeMarker(org.discotools.gwt.leaflet.client.jsobject.JSObject element)
JSNodeMarker(org.discotools.gwt.leaflet.client.types.LatLng latLng)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.discotools.gwt.leaflet.client.types.LatLng
coordinatesToLatLng(Coordinates coordinates)
com.google.gwt.core.client.JsArrayString
getCategories()
java.lang.String
getCategoriesAsString()
java.util.List<java.lang.String>
getCategoryList()
Coordinates
getCoordinates()
java.lang.String
getDescription()
java.lang.String
getForeignId()
java.lang.String
getForeignSource()
java.lang.String
getIpAddress()
java.lang.String
getMaintContract()
java.lang.Integer
getNodeId()
java.lang.String
getNodeLabel()
java.util.Map<java.lang.String,java.lang.String>
getProperties()
java.lang.String
getProperty(java.lang.String key)
java.lang.Integer
getSeverity()
java.lang.String
getSeverityLabel()
java.util.List<java.lang.String>
getTextPropertyNames()
java.lang.Integer
getUnackedCount()
void
putProperty(java.lang.String key, java.lang.String value)
void
setCategories(java.lang.String[] categories)
org.discotools.gwt.leaflet.client.jsobject.JSObject
toSearchResult()
java.lang.String
toString()
-
Methods inherited from class org.discotools.gwt.leaflet.client.marker.Marker
addTo, bindPopup, bindPopup, closePopup, getLatLng, openPopup, setIcon, setLatLng, setOpacity, setZIndexOffset, unbindPopup, update
-
Methods inherited from class org.discotools.gwt.leaflet.client.jsobject.JSObjectWrapper
getJSObject, setJSObject
-
-
-
-
Method Detail
-
putProperty
public void putProperty(java.lang.String key, java.lang.String value)
-
getProperty
public java.lang.String getProperty(java.lang.String key)
-
getTextPropertyNames
public java.util.List<java.lang.String> getTextPropertyNames()
-
getCategoryList
public java.util.List<java.lang.String> getCategoryList()
- Specified by:
getCategoryList
in interfaceNodeMarker
-
getCategories
public com.google.gwt.core.client.JsArrayString getCategories()
-
getCategoriesAsString
public java.lang.String getCategoriesAsString()
-
setCategories
public void setCategories(java.lang.String[] categories)
-
getNodeId
public java.lang.Integer getNodeId()
- Specified by:
getNodeId
in interfaceNodeMarker
-
getNodeLabel
public java.lang.String getNodeLabel()
- Specified by:
getNodeLabel
in interfaceNodeMarker
-
getForeignSource
public java.lang.String getForeignSource()
- Specified by:
getForeignSource
in interfaceNodeMarker
-
getForeignId
public java.lang.String getForeignId()
- Specified by:
getForeignId
in interfaceNodeMarker
-
getIpAddress
public java.lang.String getIpAddress()
- Specified by:
getIpAddress
in interfaceNodeMarker
-
getSeverityLabel
public java.lang.String getSeverityLabel()
- Specified by:
getSeverityLabel
in interfaceNodeMarker
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceNodeMarker
-
getMaintContract
public java.lang.String getMaintContract()
- Specified by:
getMaintContract
in interfaceNodeMarker
-
getCoordinates
public Coordinates getCoordinates()
- Specified by:
getCoordinates
in interfaceNodeMarker
-
getSeverity
public java.lang.Integer getSeverity()
- Specified by:
getSeverity
in interfaceNodeMarker
-
getUnackedCount
public java.lang.Integer getUnackedCount()
- Specified by:
getUnackedCount
in interfaceNodeMarker
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
- Specified by:
getProperties
in interfaceNodeMarker
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toSearchResult
public org.discotools.gwt.leaflet.client.jsobject.JSObject toSearchResult()
-
coordinatesToLatLng
public static org.discotools.gwt.leaflet.client.types.LatLng coordinatesToLatLng(Coordinates coordinates)
-
-