Constant Field Values
Contents
org.dashbuilder.*
-
org.dashbuilder.renderer.client.DefaultRenderer Modifier and Type Constant Field Value public static final StringUUID"default"
-
org.dashbuilder.renderer.client.metric.MetricDisplayer Modifier and Type Constant Field Value public static final StringDEFAULT_HTML_TEMPLATE"<div id=\"${this}\" class=\"card-pf card-pf-accented card-pf-aggregate-status\" style=\"background-color:${bgColor}; width:${width}px; height:${height}px; margin-top:${marginTop}px; margin-right:${marginRight}px; margin-bottom:${marginBottom}px; margin-left:${marginLeft}px;\">\n <h3>${title}</h3>\n <h2>${value}</h2>\n</div>"public static final StringDEFAULT_JS_TEMPLATE"if (${isFilterEnabled}) { \n var filterOn = false;\n ${this}.style.cursor=\"pointer\";\n\n ${this}.onmouseover = function() {\n if (!filterOn) ${this}.style.backgroundColor = \"lightblue\";\n };\n ${this}.onmouseout = function() {\n if (!filterOn) ${this}.style.backgroundColor = \"${bgColor}\";\n };\n ${this}.onclick = function() {\n filterOn = !filterOn;\n ${this}.style.backgroundColor = filterOn ? \"lightblue\" : \"${bgColor}\";\n ${doFilter};\n };\n}"