Class UndefinedDashlet
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.AbstractDashlet
-
- org.opennms.features.vaadin.dashboard.dashlets.UndefinedDashlet
-
- All Implemented Interfaces:
Dashlet
public class UndefinedDashlet extends AbstractDashlet
This class represents a "undefined"Dashlet
used for error conditions when the requiredDashlet
cannot be found.- Author:
- Christian Pape
-
-
Constructor Summary
Constructors Constructor Description UndefinedDashlet(String name, DashletSpec dashletSpec)
Constructor for instantiating thisDashlet
-
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 state-
Methods inherited from class org.opennms.features.vaadin.dashboard.model.AbstractDashlet
getDashletSpec, getName, isBoosted, setDashletSpec, setName
-
-
-
-
Constructor Detail
-
UndefinedDashlet
public UndefinedDashlet(String name, DashletSpec dashletSpec)
Constructor for instantiating thisDashlet
- Parameters:
dashletSpec
- theDashletSpec
to use
-
-
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
-
-