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 DashletComponentgetDashboardComponent(com.vaadin.ui.UI ui)DashletComponentgetWallboardComponent(com.vaadin.ui.UI ui)Updates the dashlet contents and computes new boosted statebooleanisBoosted()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- theDashletSpecto be usedbusinessServiceManager- theBusinessServiceManagerto be used
-
-
Method Detail
-
getWallboardComponent
public DashletComponent getWallboardComponent(com.vaadin.ui.UI ui)
Description copied from interface:DashletUpdates the dashlet contents and computes new boosted state- Specified by:
getWallboardComponentin interfaceDashlet- Overrides:
getWallboardComponentin classAbstractDashlet- Parameters:
ui- TheUIwhich holds the component.
-
getDashboardComponent
public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
- Specified by:
getDashboardComponentin interfaceDashlet- Overrides:
getDashboardComponentin classAbstractDashlet
-
isBoosted
public boolean isBoosted()
Description copied from interface:DashletChecks whether this dashlet is boosted.- Specified by:
isBoostedin interfaceDashlet- Overrides:
isBoostedin classAbstractDashlet- Returns:
- true, if boosted, false otherwise
-
-