Class RrdDashletFactory
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.AbstractDashletFactory
-
- org.opennms.features.vaadin.dashboard.dashlets.RrdDashletFactory
-
- All Implemented Interfaces:
DashletFactory
public class RrdDashletFactory extends AbstractDashletFactory
This class implements aDashlet
for displaying Rrd graphs.- Author:
- Christian Pape
-
-
Field Summary
-
Fields inherited from class org.opennms.features.vaadin.dashboard.model.AbstractDashletFactory
m_boostable, m_dashboardSuitable, m_name, m_requiredParameterDescriptions, m_requiredParameters
-
-
Constructor Summary
Constructors Constructor Description RrdDashletFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashletConfigurationWindow
configurationWindow(DashletSpec dashletSpec)
Returns a custom configuration window.java.lang.String
getHelpContentHTML()
Returns the help contentString
Dashlet
newDashletInstance(DashletSpec dashletSpec)
Method for creating a newDashlet
instance.void
setNodeDao(NodeDao nodeDao)
void
setRrdGraphHelper(RrdGraphHelper rrdGraphHelper)
-
Methods inherited from class org.opennms.features.vaadin.dashboard.model.AbstractDashletFactory
addRequiredParameter, getHelpComponent, getName, getRequiredParameterDescriptions, getRequiredParameters, isBoostable, isSuitableForDashboard, providesHelpComponent, setBoostable, setDashboardSuitable, setName, setRequiredParameterDescriptions, setRequiredParameters
-
-
-
-
Method Detail
-
newDashletInstance
public Dashlet newDashletInstance(DashletSpec dashletSpec)
Method for creating a newDashlet
instance.- Parameters:
dashletSpec
- theDashletSpec
to use- Returns:
- a new
Dashlet
instance
-
setRrdGraphHelper
public void setRrdGraphHelper(RrdGraphHelper rrdGraphHelper)
-
setNodeDao
public void setNodeDao(NodeDao nodeDao)
-
getHelpContentHTML
public java.lang.String getHelpContentHTML()
Returns the help contentString
- Specified by:
getHelpContentHTML
in classAbstractDashletFactory
- Returns:
- the help content
-
configurationWindow
public DashletConfigurationWindow configurationWindow(DashletSpec dashletSpec)
Returns a custom configuration window.- Specified by:
configurationWindow
in interfaceDashletFactory
- Overrides:
configurationWindow
in classAbstractDashletFactory
- Parameters:
dashletSpec
- theDashletSpec
to use- Returns:
- the configuration window
-
-