org.opennms.features.poller.remote.gwt.client
Class DefaultApplicationView
java.lang.Object
org.opennms.features.poller.remote.gwt.client.DefaultApplicationView
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.ResizeHandler, com.google.gwt.event.shared.EventHandler, ApplicationView
public class DefaultApplicationView
- extends Object
- implements ApplicationView, com.google.gwt.event.logical.shared.ResizeHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
locationPanel
@UiField
protected LocationPanel locationPanel
mainPanel
@UiField
protected com.google.gwt.user.client.ui.DockLayoutPanel mainPanel
splitPanel
@UiField
protected com.google.gwt.user.client.ui.SplitLayoutPanel splitPanel
locationLink
@UiField
protected com.google.gwt.user.client.ui.Hyperlink locationLink
applicationLink
@UiField
protected com.google.gwt.user.client.ui.Hyperlink applicationLink
updateTimestamp
@UiField
protected com.google.gwt.user.client.ui.Label updateTimestamp
linkStyles
@UiField
protected org.opennms.features.poller.remote.gwt.client.DefaultApplicationView.LinkStyles linkStyles
statusesPanel
@UiField
protected com.google.gwt.user.client.ui.HorizontalPanel statusesPanel
statusDown
@UiField
protected com.google.gwt.user.client.ui.CheckBox statusDown
statusDisconnected
@UiField
protected com.google.gwt.user.client.ui.CheckBox statusDisconnected
statusMarginal
@UiField
protected com.google.gwt.user.client.ui.CheckBox statusMarginal
statusUp
@UiField
protected com.google.gwt.user.client.ui.CheckBox statusUp
statusStopped
@UiField
protected com.google.gwt.user.client.ui.CheckBox statusStopped
statusUnknown
@UiField
protected com.google.gwt.user.client.ui.CheckBox statusUnknown
DefaultApplicationView
public DefaultApplicationView(Application presenter,
com.google.gwt.event.shared.HandlerManager eventBus,
MapPanel mapPanel)
onDownClicked
@UiHandler(value="statusDown")
public void onDownClicked(com.google.gwt.event.dom.client.ClickEvent event)
onDisconnectedClicked
@UiHandler(value="statusDisconnected")
public void onDisconnectedClicked(com.google.gwt.event.dom.client.ClickEvent event)
onMarginalClicked
@UiHandler(value="statusMarginal")
public void onMarginalClicked(com.google.gwt.event.dom.client.ClickEvent event)
onUpClicked
@UiHandler(value="statusUp")
public void onUpClicked(com.google.gwt.event.dom.client.ClickEvent event)
onStoppedClicked
@UiHandler(value="statusStopped")
public void onStoppedClicked(com.google.gwt.event.dom.client.ClickEvent event)
onUnknownClicked
@UiHandler(value="statusUnknown")
public void onUnknownClicked(com.google.gwt.event.dom.client.ClickEvent event)
onApplicationClick
@UiHandler(value="applicationLink")
public void onApplicationClick(com.google.gwt.event.dom.client.ClickEvent event)
onApplicationClick
- Parameters:
event - a ClickEvent object.
onLocationClick
@UiHandler(value="locationLink")
public void onLocationClick(com.google.gwt.event.dom.client.ClickEvent event)
onLocationClick
- Parameters:
event - a ClickEvent object.
updateTimestamp
public void updateTimestamp()
- Description copied from interface:
ApplicationView
updateTimestamp
- Specified by:
updateTimestamp in interface ApplicationView
getSelectedStatuses
public Set<Status> getSelectedStatuses()
- Specified by:
getSelectedStatuses in interface ApplicationView
initialize
public void initialize()
- Specified by:
initialize in interface ApplicationView
updateSelectedApplications
public void updateSelectedApplications(Set<ApplicationInfo> applications)
- Specified by:
updateSelectedApplications in interface ApplicationView
updateLocationList
public void updateLocationList(ArrayList<LocationInfo> locationsForLocationPanel)
- Specified by:
updateLocationList in interface ApplicationView
setSelectedTag
public void setSelectedTag(String selectedTag,
List<String> allTags)
- Specified by:
setSelectedTag in interface ApplicationView
updateApplicationList
public void updateApplicationList(ArrayList<ApplicationInfo> applications)
- Specified by:
updateApplicationList in interface ApplicationView
updateApplicationNames
public void updateApplicationNames(TreeSet<String> allApplicationNames)
- Specified by:
updateApplicationNames in interface ApplicationView
fitMapToLocations
public void fitMapToLocations(GWTBounds locationBounds)
- Specified by:
fitMapToLocations in interface ApplicationView
getMapBounds
public GWTBounds getMapBounds()
- Specified by:
getMapBounds in interface ApplicationView
showLocationDetails
public void showLocationDetails(String locationName,
String htmlTitle,
String htmlContent)
- Specified by:
showLocationDetails in interface ApplicationView
placeMarker
public void placeMarker(GWTMarkerState markerState)
- Specified by:
placeMarker in interface ApplicationView
setStatusMessage
public void setStatusMessage(String statusMessage)
- Specified by:
setStatusMessage in interface ApplicationView
onResize
public void onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
- Specified by:
onResize in interface com.google.gwt.event.logical.shared.ResizeHandler
Copyright © 2011. All Rights Reserved.