| Package | Description |
|---|---|
| com.zavtech.morpheus.viz.html |
| Modifier and Type | Field and Description |
|---|---|
private HtmlCode |
HtmlElement.writer |
| Modifier and Type | Method and Description |
|---|---|
HtmlCode |
HtmlCode.indent(int count)
Increases the indentation for the current line by a certain number of spaces
|
HtmlCode |
HtmlCode.newElement(String name,
Consumer<HtmlElement> consumer)
Creates a new element with the name specified
|
HtmlCode |
HtmlCode.newLine()
Starts a new line and indents the new line based on current indentation
|
HtmlCode |
HtmlCode.unident(int count)
Removes spaces from the current indentation
|
HtmlCode |
HtmlCode.write(String line,
Object... args)
Writes formatted code string to the output buffer
|
| Modifier and Type | Method and Description |
|---|---|
static String |
HtmlCode.createHtml(Consumer<HtmlCode> consumer)
Convenience method to generate an HTML string given a writer
|
| Constructor and Description |
|---|
HtmlElement(String name,
HtmlCode writer)
Constructor
|
Copyright 2014-2017, Xavier Witdouck