Class RrdDashlet
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.AbstractDashlet
-
- org.opennms.features.vaadin.dashboard.dashlets.RrdDashlet
-
- All Implemented Interfaces:
Dashlet
public class RrdDashlet extends AbstractDashlet
This class implements aDashlet
for displaying a Rrd graph.- Author:
- Christian Pape
-
-
Constructor Summary
Constructors Constructor Description RrdDashlet(String name, DashletSpec dashletSpec, RrdGraphHelper rrdGraphHelper)
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
-
RrdDashlet
public RrdDashlet(String name, DashletSpec dashletSpec, RrdGraphHelper rrdGraphHelper)
Constructor for instantiating new objects.- Parameters:
name
- the name of the dashletdashletSpec
- theDashletSpec
to be usedrrdGraphHelper
- the rrd graph helper instance
-
-
Method Detail
-
getDashboardComponent
public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
- Specified by:
getDashboardComponent
in interfaceDashlet
- Overrides:
getDashboardComponent
in classAbstractDashlet
-
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.
-
-