Class ChartsDashletFactory
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.AbstractDashletFactory
-
- org.opennms.features.vaadin.dashboard.dashlets.ChartsDashletFactory
-
- All Implemented Interfaces:
DashletFactory
public class ChartsDashletFactory extends AbstractDashletFactory
This class implements a factory used for instantiating new dashlet instances.- 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 ChartsDashletFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashletConfigurationWindow
configurationWindow(DashletSpec dashletSpec)
Returns a custom configuration window.String
getHelpContentHTML()
Returns the help contentString
Dashlet
newDashletInstance(DashletSpec dashletSpec)
Method for instatiating a newDashlet
instance.-
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 instatiating a newDashlet
instance.- Parameters:
dashletSpec
- theDashletSpec
to use- Returns:
- a new
Dashlet
instance
-
getHelpContentHTML
public 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
-
-