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()
String
getCategoriesAsString()
List<String>
getCategoryList()
Coordinates
getCoordinates()
String
getDescription()
String
getForeignId()
String
getForeignSource()
String
getIpAddress()
String
getMaintContract()
Integer
getNodeId()
String
getNodeLabel()
Map<String,String>
getProperties()
String
getProperty(String key)
Integer
getSeverity()
String
getSeverityLabel()
List<String>
getTextPropertyNames()
Integer
getUnackedCount()
void
putProperty(String key, String value)
void
setCategories(String[] categories)
org.discotools.gwt.leaflet.client.jsobject.JSObject
toSearchResult()
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
-
getCategoryList
public List<String> getCategoryList()
- Specified by:
getCategoryList
in interfaceNodeMarker
-
getCategories
public com.google.gwt.core.client.JsArrayString getCategories()
-
getCategoriesAsString
public String getCategoriesAsString()
-
setCategories
public void setCategories(String[] categories)
-
getNodeId
public Integer getNodeId()
- Specified by:
getNodeId
in interfaceNodeMarker
-
getNodeLabel
public String getNodeLabel()
- Specified by:
getNodeLabel
in interfaceNodeMarker
-
getForeignSource
public String getForeignSource()
- Specified by:
getForeignSource
in interfaceNodeMarker
-
getForeignId
public String getForeignId()
- Specified by:
getForeignId
in interfaceNodeMarker
-
getIpAddress
public String getIpAddress()
- Specified by:
getIpAddress
in interfaceNodeMarker
-
getSeverityLabel
public String getSeverityLabel()
- Specified by:
getSeverityLabel
in interfaceNodeMarker
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceNodeMarker
-
getMaintContract
public String getMaintContract()
- Specified by:
getMaintContract
in interfaceNodeMarker
-
getCoordinates
public Coordinates getCoordinates()
- Specified by:
getCoordinates
in interfaceNodeMarker
-
getSeverity
public Integer getSeverity()
- Specified by:
getSeverity
in interfaceNodeMarker
-
getUnackedCount
public Integer getUnackedCount()
- Specified by:
getUnackedCount
in interfaceNodeMarker
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getProperties
in interfaceNodeMarker
-
toSearchResult
public org.discotools.gwt.leaflet.client.jsobject.JSObject toSearchResult()
-
coordinatesToLatLng
public static org.discotools.gwt.leaflet.client.types.LatLng coordinatesToLatLng(Coordinates coordinates)
-
-