public class ImageDashlet extends AbstractDashlet
Dashlet
for displaying an image.Constructor and Description |
---|
ImageDashlet(String name,
DashletSpec dashletSpec)
Constructor for instantiating new objects.
|
Modifier and Type | Method and Description |
---|---|
DashletComponent |
getDashboardComponent(com.vaadin.ui.UI ui) |
DashletComponent |
getWallboardComponent(com.vaadin.ui.UI ui)
Updates the dashlet contents and computes new boosted state
|
getDashletSpec, getName, isBoosted, setDashletSpec, setName
public ImageDashlet(String name, DashletSpec dashletSpec)
dashletSpec
- the DashletSpec
to be usedpublic DashletComponent getWallboardComponent(com.vaadin.ui.UI ui)
Dashlet
getWallboardComponent
in interface Dashlet
getWallboardComponent
in class AbstractDashlet
ui
- The UI
which holds the component.public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
getDashboardComponent
in interface Dashlet
getDashboardComponent
in class AbstractDashlet
Copyright © 2021. All rights reserved.