public class KscDashlet extends AbstractDashlet
Constructor and Description |
---|
KscDashlet(String name,
DashletSpec dashletSpec,
NodeDao nodeDao,
ResourceDao resourceDao,
org.springframework.transaction.support.TransactionOperations transactionOperations,
TimeformatService timeformatService)
Constructor for instantiating new objects.
|
Modifier and Type | Method and Description |
---|---|
DashletComponent |
getDashboardComponent(com.vaadin.ui.UI ui) |
Map<String,String> |
getDataForResourceId(String nodeId,
String resourceIdString)
Returns a map with graph metadata for a given nodeId.
|
DashletComponent |
getWallboardComponent(com.vaadin.ui.UI ui)
Updates the dashlet contents and computes new boosted state
|
getDashletSpec, getName, isBoosted, setDashletSpec, setName
public KscDashlet(String name, DashletSpec dashletSpec, NodeDao nodeDao, ResourceDao resourceDao, org.springframework.transaction.support.TransactionOperations transactionOperations, TimeformatService timeformatService)
name
- the name of the dashletdashletSpec
- 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.