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, setNamepublic 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)
DashletgetWallboardComponent in interface DashletgetWallboardComponent in class AbstractDashletui - The UI which holds the component.public DashletComponent getDashboardComponent(com.vaadin.ui.UI ui)
getDashboardComponent in interface DashletgetDashboardComponent in class AbstractDashletCopyright © 2022. All rights reserved.