public class DefaultApplicationView extends Object implements ApplicationView, com.google.gwt.event.logical.shared.ResizeHandler
Modifier and Type | Field and Description |
---|---|
protected com.google.gwt.user.client.ui.Hyperlink |
applicationLink |
protected org.opennms.features.poller.remote.gwt.client.DefaultApplicationView.LinkStyles |
linkStyles |
protected com.google.gwt.user.client.ui.Hyperlink |
locationLink |
protected LocationPanel |
locationPanel |
protected com.google.gwt.user.client.ui.DockLayoutPanel |
mainPanel |
protected com.google.gwt.user.client.ui.SplitLayoutPanel |
splitPanel |
protected com.google.gwt.user.client.ui.CheckBox |
statusDisconnected |
protected com.google.gwt.user.client.ui.CheckBox |
statusDown |
protected com.google.gwt.user.client.ui.HorizontalPanel |
statusesPanel |
protected com.google.gwt.user.client.ui.CheckBox |
statusMarginal |
protected com.google.gwt.user.client.ui.CheckBox |
statusStopped |
protected com.google.gwt.user.client.ui.CheckBox |
statusUnknown |
protected com.google.gwt.user.client.ui.CheckBox |
statusUp |
protected com.google.gwt.user.client.ui.Label |
updateTimestamp |
Constructor and Description |
---|
DefaultApplicationView(Application presenter,
com.google.gwt.event.shared.HandlerManager eventBus,
MapPanel mapPanel) |
Modifier and Type | Method and Description |
---|---|
void |
fitMapToLocations(GWTBounds locationBounds) |
GWTBounds |
getMapBounds() |
Set<Status> |
getSelectedStatuses() |
void |
initialize() |
void |
onApplicationClick(com.google.gwt.event.dom.client.ClickEvent event)
onApplicationClick
|
void |
onDisconnectedClicked(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onDownClicked(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onLocationClick(com.google.gwt.event.dom.client.ClickEvent event)
onLocationClick
|
void |
onMarginalClicked(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onResize(com.google.gwt.event.logical.shared.ResizeEvent event) |
void |
onStoppedClicked(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onUnknownClicked(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onUpClicked(com.google.gwt.event.dom.client.ClickEvent event) |
void |
placeMarker(GWTMarkerState markerState) |
void |
setSelectedTag(String selectedTag,
List<String> allTags) |
void |
setStatusMessage(String statusMessage) |
void |
showLocationDetails(String locationName,
String htmlTitle,
String htmlContent) |
void |
updateApplicationList(List<ApplicationInfo> applications) |
void |
updateApplicationNames(Set<String> allApplicationNames) |
void |
updateLocationList(List<LocationInfo> locationsForLocationPanel) |
void |
updateSelectedApplications(Set<ApplicationInfo> applications) |
void |
updateTimestamp()
updateTimestamp
|
@UiField protected LocationPanel locationPanel
@UiField protected com.google.gwt.user.client.ui.DockLayoutPanel mainPanel
@UiField protected com.google.gwt.user.client.ui.SplitLayoutPanel splitPanel
@UiField protected com.google.gwt.user.client.ui.Hyperlink locationLink
@UiField protected com.google.gwt.user.client.ui.Hyperlink applicationLink
@UiField protected com.google.gwt.user.client.ui.Label updateTimestamp
@UiField protected org.opennms.features.poller.remote.gwt.client.DefaultApplicationView.LinkStyles linkStyles
@UiField protected com.google.gwt.user.client.ui.HorizontalPanel statusesPanel
@UiField protected com.google.gwt.user.client.ui.CheckBox statusDown
@UiField protected com.google.gwt.user.client.ui.CheckBox statusDisconnected
@UiField protected com.google.gwt.user.client.ui.CheckBox statusMarginal
@UiField protected com.google.gwt.user.client.ui.CheckBox statusUp
@UiField protected com.google.gwt.user.client.ui.CheckBox statusStopped
@UiField protected com.google.gwt.user.client.ui.CheckBox statusUnknown
public DefaultApplicationView(Application presenter, com.google.gwt.event.shared.HandlerManager eventBus, MapPanel mapPanel)
@UiHandler(value="statusDown") public void onDownClicked(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="statusDisconnected") public void onDisconnectedClicked(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="statusMarginal") public void onMarginalClicked(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="statusUp") public void onUpClicked(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="statusStopped") public void onStoppedClicked(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="statusUnknown") public void onUnknownClicked(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="applicationLink") public void onApplicationClick(com.google.gwt.event.dom.client.ClickEvent event)
onApplicationClick
event
- a ClickEvent
object.@UiHandler(value="locationLink") public void onLocationClick(com.google.gwt.event.dom.client.ClickEvent event)
onLocationClick
event
- a ClickEvent
object.public void updateTimestamp()
ApplicationView
updateTimestamp
updateTimestamp
in interface ApplicationView
public Set<Status> getSelectedStatuses()
getSelectedStatuses
in interface ApplicationView
public void initialize()
initialize
in interface ApplicationView
public void updateSelectedApplications(Set<ApplicationInfo> applications)
updateSelectedApplications
in interface ApplicationView
public void updateLocationList(List<LocationInfo> locationsForLocationPanel)
updateLocationList
in interface ApplicationView
public void setSelectedTag(String selectedTag, List<String> allTags)
setSelectedTag
in interface ApplicationView
public void updateApplicationList(List<ApplicationInfo> applications)
updateApplicationList
in interface ApplicationView
public void updateApplicationNames(Set<String> allApplicationNames)
updateApplicationNames
in interface ApplicationView
public void fitMapToLocations(GWTBounds locationBounds)
fitMapToLocations
in interface ApplicationView
public GWTBounds getMapBounds()
getMapBounds
in interface ApplicationView
public void showLocationDetails(String locationName, String htmlTitle, String htmlContent)
showLocationDetails
in interface ApplicationView
public void placeMarker(GWTMarkerState markerState)
placeMarker
in interface ApplicationView
public void setStatusMessage(String statusMessage)
setStatusMessage
in interface ApplicationView
public void onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
onResize
in interface com.google.gwt.event.logical.shared.ResizeHandler
Copyright © 2019. All rights reserved.