public interface DashletFactory
Dashlet instances.| Modifier and Type | Method and Description |
|---|---|
DashletConfigurationWindow |
configurationWindow(DashletSpec dashletSpec)
Returns the window used for configuring a
DashletSpec instance. |
com.vaadin.ui.Component |
getHelpComponent()
Returns the help component for the
Dashlet. |
String |
getName()
Returns the name of the
Dashlet instances this factory provides. |
Map<String,String> |
getRequiredParameters()
Returns the
Map with the required parameters and default values. |
boolean |
isBoostable()
This method returns whether this dashlet is boostable.
|
boolean |
isSuitableForDashboard()
Returns whether this dashlet is suitable for displaying in the dashboard view.
|
Dashlet |
newDashletInstance(DashletSpec dashletSpec)
Returns a new
Dashlet instance for a given DashletSpec. |
boolean |
providesHelpComponent()
Returns true, if the factory provides a help component for the
Dashlet. |
boolean isSuitableForDashboard()
Dashlet newDashletInstance(DashletSpec dashletSpec)
Dashlet instance for a given DashletSpec.dashletSpec - the DashletSpec to useDashlet instanceString getName()
Dashlet instances this factory provides.Map<String,String> getRequiredParameters()
Map with the required parameters and default values.Map holding the requires parametersboolean providesHelpComponent()
Dashlet.com.vaadin.ui.Component getHelpComponent()
Dashlet.DashletConfigurationWindow configurationWindow(DashletSpec dashletSpec)
DashletSpec instance.dashletSpec - the DashletSpec instanceDashletConfigurationWindowboolean isBoostable()
Copyright © 2020. All rights reserved.