|
Dashboard Builder UI Panels 6.0.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dashboard.ui.panel.PanelDriver
org.jboss.dashboard.ui.panel.advancedHTML.HTMLDriver
org.jboss.dashboard.ui.panel.dashboard.DashboardHTMLDriver
public class DashboardHTMLDriver
Extension of the HTML base panel that makes possible to embed inside the HTML dashboard variables.
For example, it's possible to display, as a part of an HTML fragment, the number of running cases that a given dashboard KPI is displaying, or
the total amount of sales made in a given period. The following HTML fragment is an example of how to do that. Suppose we want to display the following
HTML fragment:
€ 9600K Total sales between January 1st, 2008 and July 31st, 2008.
As we can see we got 3 dynamic variables extracted from the
dashboard context. The HTML source that prints the previous HTML is: <b>$ {dashboard_sumfunction, order_amount} Total sales between {dashboard_minvalue,
date} and {dashboard_maxvalue, date}</b> Each command is replaced by:
Function commands. Apply an scalar function over the values loaded for a given property:
Navigations commands. Give access to the user navigation context within the workspace:
| Field Summary | |
|---|---|
protected static org.slf4j.Logger |
log
Logger |
| Fields inherited from class org.jboss.dashboard.ui.panel.advancedHTML.HTMLDriver |
|---|
PARAMETER_EDITING_LANG, PARAMETER_HTML, PARAMETER_USE_DEFAULTS |
| Fields inherited from class org.jboss.dashboard.ui.panel.PanelDriver |
|---|
PAGE_HEADER, PAGE_HELP_MODE, PAGE_MANAGE_INVALID_DRIVER, panelSecurity, PARAMETER_ACTION_EXECUTED_ENABLED, parameters |
| Constructor Summary | |
|---|---|
DashboardHTMLDriver()
|
|
| Method Summary | |
|---|---|
Set<org.jboss.dashboard.provider.DataProvider> |
getDataProvidersUsed(org.jboss.dashboard.workspace.Panel panel)
|
Map |
getHtmlCode(org.jboss.dashboard.workspace.Panel panel)
OVERWRITTEN in order to process commands embedded in the HTML. |
| Methods inherited from class org.jboss.dashboard.ui.panel.advancedHTML.HTMLDriver |
|---|
actionChangeEditingLanguage, actionSaveChanges, actionSelectImage, actionSelectLink, activateEditMode, activateNormalMode, beforePanelInstanceRemove, exportContent, getEditHeight, getEditingLanguage, getEditWidth, getPanelHTMLContent, importContent, init, initPanelSession, isUsingDefaultLanguage, isUsingDefaultLanguage, load, replicateData, supportsEditMode, toEditableObject |
| Methods inherited from class org.jboss.dashboard.ui.panel.PanelDriver |
|---|
actionChangePage, activateConfigMode, activateHelpMode, addMethodPermission, addParameter, addParameters, addSystemParameter, afterInvokeAction, afterPanelClosed, afterPanelCustomPropertiesModified, afterPanelPlacedInRegion, afterPanelPropertiesModified, afterRenderPanel, beforeInvokeAction, beforePanelClosed, beforePanelInstanceRemove, beforePanelPlacedInRegion, beforePanelRemoved, beforeRenderPanel, canInvokeAction, checkInvokeAction, checkMethodSecurity, copyDirectory, copyFile, execute, fireAfterInvokeAction, fireAfterPanelClosed, fireAfterPanelPlacedInRegion, fireAfterRenderPanel, fireBeforeInvokeAction, fireBeforePanelInstanceRemove, fireBeforePanelPlacedInRegion, fireBeforePanelRemoved, fireBeforeRenderPanel, firePanelCustomPropertiesModified, firePanelPropertiesModified, getActionsBundle, getAllParameters, getConfigHeight, getConfigWidth, getHelpHeight, getHelpWidth, getMethodName, getPageEdit, getPageHelpMode, getPanelDir, getPanelDir, getPanelDirMapping, getPanelDirMapping, getPanelSession, getPanelSession, getPanelSession, getResourceForPermission, getShowPanelPageComponent, getTextShownByInstance, getURLWhenMaximized, hasMethodAccess, initPanel, initPermissionsParameters, initSystemParameters, isDoubleClickProtected, isSystemAction, move, panelActionClose, panelActionEditMode, panelActionFactory, panelActionHelpMode, panelActionInvalidateCache, panelActionMaximize, panelActionMaximizeInRegion, panelActionMinimize, panelActionMoveBack, panelActionMoveForward, panelActionRefreshPanel, panelActionRemove, panelActionRestore, panelActionSelect, panelActionShowMode, panelActionStartConfig, supportsHelpMode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static transient org.slf4j.Logger log
| Constructor Detail |
|---|
public DashboardHTMLDriver()
| Method Detail |
|---|
public Map getHtmlCode(org.jboss.dashboard.workspace.Panel panel)
getHtmlCode in class HTMLDriver
public Set<org.jboss.dashboard.provider.DataProvider> getDataProvidersUsed(org.jboss.dashboard.workspace.Panel panel)
throws Exception
getDataProvidersUsed in interface org.jboss.dashboard.ui.panel.DashboardDriverException
|
Dashboard Builder UI Panels 6.0.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||