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 aDashletfor 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 DashletConfigurationWindowconfigurationWindow(DashletSpec dashletSpec)Returns a custom configuration window.StringgetHelpContentHTML()Returns the help contentStringDashletnewDashletInstance(DashletSpec dashletSpec)Method for creating a newDashletinstance.voidsetNodeDao(NodeDao nodeDao)voidsetRrdGraphHelper(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 newDashletinstance.- Parameters:
dashletSpec- theDashletSpecto use- Returns:
- a new
Dashletinstance
-
setRrdGraphHelper
public void setRrdGraphHelper(RrdGraphHelper rrdGraphHelper)
-
setNodeDao
public void setNodeDao(NodeDao nodeDao)
-
getHelpContentHTML
public String getHelpContentHTML()
Returns the help contentString- Specified by:
getHelpContentHTMLin classAbstractDashletFactory- Returns:
- the help content
-
configurationWindow
public DashletConfigurationWindow configurationWindow(DashletSpec dashletSpec)
Returns a custom configuration window.- Specified by:
configurationWindowin interfaceDashletFactory- Overrides:
configurationWindowin classAbstractDashletFactory- Parameters:
dashletSpec- theDashletSpecto use- Returns:
- the configuration window
-
-