Class GrafanaDashlet
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.AbstractDashlet
-
- org.opennms.features.vaadin.dashboard.dashlets.GrafanaDashlet
-
- All Implemented Interfaces:
Dashlet
public class GrafanaDashlet extends AbstractDashlet
This class implements aDashlet
for displaying an Grafana dashboard.- Author:
- Christian Pape
-
-
Constructor Summary
Constructors Constructor Description GrafanaDashlet(java.lang.String name, DashletSpec dashletSpec)
Constructor for instantiating new objects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashletComponent
getDashboardComponent(com.vaadin.ui.UI ui)
DashletComponent
getWallboardComponent(com.vaadin.ui.UI ui)
Updates the dashlet contents and computes new boosted state-
Methods inherited from class org.opennms.features.vaadin.dashboard.model.AbstractDashlet
getDashletSpec, getName, isBoosted, setDashletSpec, setName
-
-
-
-
Constructor Detail
-
GrafanaDashlet
public GrafanaDashlet(java.lang.String name, DashletSpec dashletSpec)
Constructor for instantiating new objects.- Parameters:
dashletSpec
- theDashletSpec
to be used
-
-
Method Detail
-
getWallboardComponent
public DashletComponent getWallboardComponent(com.vaadin.ui.UI ui)
Description copied from interface:Dashlet
Updates the dashlet contents and computes new boosted state- Specified by:
getWallboardComponent
in interfaceDashlet
- Overrides:
getWallboardComponent
in classAbstractDashlet
- Parameters:
ui
- TheUI
which holds the component.
-
getDashboardComponent
public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
- Specified by:
getDashboardComponent
in interfaceDashlet
- Overrides:
getDashboardComponent
in classAbstractDashlet
-
-