Describes a list of methods needed for dashboard to get tile content DashboardTile.getComponent, and other info like DashboardTile.getId, DashboardTile.getName, DashboardTile.getDescription.
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addDashboardTileListener(DashboardTileListener listener) |
|
boolean |
canHandleHistoricData() |
|
org.w3c.dom.Node |
getComponent() Returns a JavaFX node containing the GUI of the Dashboard tile. |
|
DashboardTileConfig |
getConfig() |
|
DashboardTileListener |
getDashboardTileListener() |
|
java.lang.String |
getDescription() A concise description of this Dashboard tile. |
|
java.util.Optional<Image> |
getIcon() Returns a icon of this Dashboard tile, which will be displayed in the tile header. |
|
java.lang.String |
getId() Gets a unique ID for this Dashboard tile. |
|
java.awt.Image |
getImage() Returns a image of this Dashboard tile, which will be displayed in the Add Tile dialog. |
|
java.lang.String |
getName() A descriptive name for this Dashboard tile, which will be displayed in the Dashboard page. |
|
java.util.Optional<groovy.util.Node> |
getPeriodChooser() |
|
XmlObject |
getSettingsConfig() |
|
java.util.Optional<groovy.util.Node> |
getSettingsContent() Returns a JavaFX node containing the GUI for settings popup window. |
|
java.util.Optional<groovy.util.Node> |
getSettingsContent(java.lang.Object source)
|
|
java.util.Optional<HBox> |
getTileLeftToolBar() |
|
DynamicTileType |
getTileType() |
|
void |
initialize() Initialize this tile. |
|
void |
onLoad(DashboardGui dashboard) Callback invoked just before this tile is added to the Dashboard. |
|
void |
onUnload() Callback invoked just after this tile is removed from the Dashboard. |
|
void |
setConfig(DashboardTileConfig config) |
|
void |
updateDataFromConfig() |
Returns a JavaFX node containing the GUI of the Dashboard tile.
html
, body
tags or an HTML head
.A concise description of this Dashboard tile. If present it may be displayed in the Dashboard page, possibly as a tooltip.
Returns a icon of this Dashboard tile, which will be displayed in the tile header.
Gets a unique ID for this Dashboard tile. It won't be displayed anywhere but used to identify the tile internally.
Returns a image of this Dashboard tile, which will be displayed in the Add Tile dialog.
A descriptive name for this Dashboard tile, which will be displayed in the Dashboard page.
Returns a JavaFX node containing the GUI for settings popup window.
source
- node which has FilterObject in UserData property
Returns a JavaFX node containing the GUI for settings popup window.Initialize this tile. The method will be called when ReadyAPI starts up. It should return as quickly as possible to avoid adding to the load time of the Dashboard; really time-consuming tasks should be run in the background and then let the GUI update itself after a refresh.
Callback invoked just before this tile is added to the Dashboard. One reason to override it would be to save a reference to the GUI so that the tile can display content in the "Overlay" of the Dashboard.
dashboard
- the Dashboard GUI that the tile is being added toCallback invoked just after this tile is removed from the Dashboard.