public class AbstractDashlet extends Object implements Dashlet
Constructor and Description |
---|
AbstractDashlet(String name,
DashletSpec dashletSpec) |
Modifier and Type | Method and Description |
---|---|
DashletComponent |
getDashboardComponent(com.vaadin.ui.UI ui) |
DashletSpec |
getDashletSpec() |
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 state
|
boolean |
isBoosted()
Checks whether this dashlet is boosted.
|
void |
setDashletSpec(DashletSpec dashletSpec) |
void |
setName(String name) |
public AbstractDashlet(String name, DashletSpec dashletSpec)
public final String getName()
Dashlet
public final void setName(String name)
public final DashletSpec getDashletSpec()
getDashletSpec
in interface Dashlet
public final void setDashletSpec(DashletSpec dashletSpec)
public boolean isBoosted()
Dashlet
public DashletComponent getWallboardComponent(com.vaadin.ui.UI ui)
Dashlet
getWallboardComponent
in interface Dashlet
ui
- The UI
which holds the component.public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
getDashboardComponent
in interface Dashlet
Copyright © 2021. All rights reserved.