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 Object implements Dashlet
-
-
Constructor Summary
Constructors Constructor Description AbstractDashlet(String name, DashletSpec dashletSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashletComponentgetDashboardComponent(com.vaadin.ui.UI ui)DashletSpecgetDashletSpec()StringgetName()This method returns the name of this dashlet.DashletComponentgetWallboardComponent(com.vaadin.ui.UI ui)Updates the dashlet contents and computes new boosted statebooleanisBoosted()Checks whether this dashlet is boosted.voidsetDashletSpec(DashletSpec dashletSpec)voidsetName(String name)
-
-
-
Constructor Detail
-
AbstractDashlet
public AbstractDashlet(String name, DashletSpec dashletSpec)
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:DashletThis method returns the name of this dashlet.
-
setName
public final void setName(String name)
-
getDashletSpec
public final DashletSpec getDashletSpec()
- Specified by:
getDashletSpecin interfaceDashlet
-
setDashletSpec
public final void setDashletSpec(DashletSpec dashletSpec)
-
isBoosted
public boolean isBoosted()
Description copied from interface:DashletChecks whether this dashlet is boosted.
-
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- Parameters:
ui- TheUIwhich holds the component.
-
getDashboardComponent
public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
- Specified by:
getDashboardComponentin interfaceDashlet
-
-