Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
UUID |
"default" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_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 String |
DEFAULT_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}" |
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.