public class HtmlElementCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Element |
maxprocessloops |
static Element |
networkview |
static Element |
timestep |
static Element |
treeview |
static java.lang.String |
XH_ELEMENT_PREFIX |
static Element |
xhappspecific |
static Element |
xhcanvas |
static Element |
xhchart |
static Element |
xhclipboard |
static Element |
xhconsole |
static Element |
xhgraph |
static Element |
xhgui |
static Element |
xhimg |
static Element |
xholontitle |
static Element |
xhout |
static Element |
xhsvg |
static Element |
xhtabs |
static Element |
xhtop |
Constructor and Description |
---|
HtmlElementCache() |
Modifier and Type | Method and Description |
---|---|
static void |
appendChild(Element ele,
java.lang.String htmlStr)
Append an HTML subtree as the last child of an existing HTML element.
|
static java.lang.String |
getTopLevelElementNames()
Get a comma-delimited list of top-level element names that start with "xh".
|
static void |
toggleElementDisplay(java.lang.String elementId)
Toggle the display property of an existing element.
|
public static final java.lang.String XH_ELEMENT_PREFIX
public static final Element xhtop
public static final Element xholontitle
public static final Element timestep
public static final Element maxprocessloops
public static final Element xhgui
public static final Element xhappspecific
public static final Element xhconsole
public static Element xhout
public static Element xhclipboard
public static final Element xhchart
public static final Element xhcanvas
public static final Element xhtabs
public static final Element xhgraph
public static final Element networkview
public static final Element treeview
public static final Element xhsvg
public static final Element xhimg
public static void appendChild(Element ele, java.lang.String htmlStr)
ele
- An existing HTML element, typically one of the constants available thru this class.htmlStr
- A properly formatted and trusted HTML string.
(ex: "hello
")public static java.lang.String getTopLevelElementNames()
public static void toggleElementDisplay(java.lang.String elementId)
elementId
- The id of an existing Element, typically a div that starts with "xh".