Class NodeMapWidget
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.ComplexPanel
-
- com.google.gwt.user.client.ui.AbsolutePanel
-
- org.opennms.features.vaadin.nodemaps.internal.gwt.client.ui.NodeMapWidget
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.EventHandler
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IndexedPanel
,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
,com.google.gwt.user.client.ui.InsertPanel
,com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,java.lang.Iterable<com.google.gwt.user.client.ui.Widget>
,ApplicationInitializedEventHandler
,FilteredMarkersUpdatedEventHandler
,OpenNMSEventHandler
,MarkerProvider
public class NodeMapWidget extends com.google.gwt.user.client.ui.AbsolutePanel implements MarkerProvider, FilteredMarkersUpdatedEventHandler, ApplicationInitializedEventHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
-
-
Constructor Summary
Constructors Constructor Description NodeMapWidget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenNMSEventManager
getEventManager()
java.util.List<JSNodeMarker>
getMarkers()
void
initialize(NodeMapState state)
boolean
isInitialized()
boolean
markerShouldBeVisible(JSNodeMarker marker)
void
onApplicationInitialized(ApplicationInitializedEvent event)
void
onFilteredMarkersUpdatedEvent(FilteredMarkersUpdatedEvent event)
void
setGroupByState(boolean groupByState)
void
setMarkers(java.util.List<JSNodeMarker> markers)
void
setMaxClusterRadius(int maxClusterRadius)
void
setRpc(NodeIdSelectionRpc rpc)
void
updateMarkerClusterLayer()
-
Methods inherited from class com.google.gwt.user.client.ui.AbsolutePanel
add, add, add, getWidgetLeft, getWidgetTop, insert, insert, insert, remove, setWidgetPosition, setWidgetPositionImpl
-
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
-
-
-
-
Method Detail
-
initialize
public void initialize(NodeMapState state)
-
isInitialized
public boolean isInitialized()
-
markerShouldBeVisible
public boolean markerShouldBeVisible(JSNodeMarker marker)
-
updateMarkerClusterLayer
public void updateMarkerClusterLayer()
-
getMarkers
public java.util.List<JSNodeMarker> getMarkers()
- Specified by:
getMarkers
in interfaceMarkerProvider
-
setMarkers
public void setMarkers(java.util.List<JSNodeMarker> markers)
-
setRpc
public void setRpc(NodeIdSelectionRpc rpc)
-
onFilteredMarkersUpdatedEvent
public void onFilteredMarkersUpdatedEvent(FilteredMarkersUpdatedEvent event)
- Specified by:
onFilteredMarkersUpdatedEvent
in interfaceFilteredMarkersUpdatedEventHandler
-
onApplicationInitialized
public void onApplicationInitialized(ApplicationInitializedEvent event)
- Specified by:
onApplicationInitialized
in interfaceApplicationInitializedEventHandler
-
getEventManager
public OpenNMSEventManager getEventManager()
-
setGroupByState
public void setGroupByState(boolean groupByState)
-
setMaxClusterRadius
public void setMaxClusterRadius(int maxClusterRadius)
-
-