Class AbstractDashlet
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.AbstractDashlet
-
- All Implemented Interfaces:
Dashlet
- Direct Known Subclasses:
AlarmDetailsDashlet
,AlarmsDashlet
,BSMDashlet
,ChartsDashlet
,GrafanaDashlet
,ImageDashlet
,KscDashlet
,MapDashlet
,RrdDashlet
,RtcDashlet
,SummaryDashlet
,SurveillanceDashlet
,TopologyDashlet
,UndefinedDashlet
,UrlDashlet
public class AbstractDashlet extends java.lang.Object implements Dashlet
-
-
Constructor Summary
Constructors Constructor Description AbstractDashlet(java.lang.String name, DashletSpec dashletSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashletComponent
getDashboardComponent(com.vaadin.ui.UI ui)
DashletSpec
getDashletSpec()
java.lang.String
getName()
This method returns the name of this dashlet.DashletComponent
getWallboardComponent(com.vaadin.ui.UI ui)
Updates the dashlet contents and computes new boosted stateboolean
isBoosted()
Checks whether this dashlet is boosted.void
setDashletSpec(DashletSpec dashletSpec)
void
setName(java.lang.String name)
-
-
-
Constructor Detail
-
AbstractDashlet
public AbstractDashlet(java.lang.String name, DashletSpec dashletSpec)
-
-
Method Detail
-
getName
public final java.lang.String getName()
Description copied from interface:Dashlet
This method returns the name of this dashlet.
-
setName
public final void setName(java.lang.String name)
-
getDashletSpec
public final DashletSpec getDashletSpec()
- Specified by:
getDashletSpec
in interfaceDashlet
-
setDashletSpec
public final void setDashletSpec(DashletSpec dashletSpec)
-
isBoosted
public boolean isBoosted()
Description copied from interface:Dashlet
Checks whether this dashlet is boosted.
-
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
- Parameters:
ui
- TheUI
which holds the component.
-
getDashboardComponent
public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
- Specified by:
getDashboardComponent
in interfaceDashlet
-
-