Class BSMDashlet
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.AbstractDashlet
-
- org.opennms.features.vaadin.dashboard.dashlets.BSMDashlet
-
- All Implemented Interfaces:
Dashlet
public class BSMDashlet extends AbstractDashlet
This class represents a Alert Dashlet with minimum details.- Author:
- Christian Pape
-
-
Constructor Summary
Constructors Constructor Description BSMDashlet(java.lang.String name, DashletSpec dashletSpec, BusinessServiceManager businessServiceManager, TransactionAwareBeanProxyFactory transactionAwareBeanProxyFactory)
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 stateboolean
isBoosted()
Checks whether this dashlet is boosted.-
Methods inherited from class org.opennms.features.vaadin.dashboard.model.AbstractDashlet
getDashletSpec, getName, setDashletSpec, setName
-
-
-
-
Constructor Detail
-
BSMDashlet
public BSMDashlet(java.lang.String name, DashletSpec dashletSpec, BusinessServiceManager businessServiceManager, TransactionAwareBeanProxyFactory transactionAwareBeanProxyFactory)
Constructor for instantiating new objects.- Parameters:
dashletSpec
- theDashletSpec
to be usedbusinessServiceManager
- theBusinessServiceManager
to be used
-
-
Method Detail
-
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.
-
getDashboardComponent
public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
- Specified by:
getDashboardComponent
in interfaceDashlet
- Overrides:
getDashboardComponent
in classAbstractDashlet
-
isBoosted
public boolean isBoosted()
Description copied from interface:Dashlet
Checks whether this dashlet is boosted.- Specified by:
isBoosted
in interfaceDashlet
- Overrides:
isBoosted
in classAbstractDashlet
- Returns:
- true, if boosted, false otherwise
-
-