Class KscDashletFactory
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.AbstractDashletFactory
-
- org.opennms.features.vaadin.dashboard.dashlets.KscDashletFactory
-
- All Implemented Interfaces:
DashletFactory
public class KscDashletFactory extends AbstractDashletFactory
Created with IntelliJ IDEA. User: chris Date: 09.10.13 Time: 22:29 To change this template use File | Settings | File Templates.
-
-
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 KscDashletFactory()
-
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 creating a newDashlet
instance.void
setNodeDao(NodeDao nodeDao)
void
setResourceDao(ResourceDao resourceDao)
void
setTimeformatService(TimeformatService timeformatService)
void
setTransactionOperations(org.springframework.transaction.support.TransactionOperations transactionOperations)
-
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
-
getHelpContentHTML
public String getHelpContentHTML()
Returns the help contentString
- Specified by:
getHelpContentHTML
in classAbstractDashletFactory
- Returns:
- the help content
-
setNodeDao
public void setNodeDao(NodeDao nodeDao)
-
setResourceDao
public void setResourceDao(ResourceDao resourceDao)
-
setTransactionOperations
public void setTransactionOperations(org.springframework.transaction.support.TransactionOperations transactionOperations)
-
setTimeformatService
public void setTimeformatService(TimeformatService timeformatService)
-
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
-
-