@Deprecated
public class InspectContainer
extends java.lang.Object
Can contain values: addValue("Total Examples", 1) parses into ("Total Examples: 1")
Html: addHtml(key, "<html>
") parses into ("<html>
")
Tables: addTable(key, TableContainer) parses into ("<table>...</table
")
Has methods for adding icons to Strings:
getWithIcon("text", "cube") parses into "<i class=\"fa fa-cube\"></i> text"
getWithColoredIcon("text", "cube", "light-green") parses into "<i class=\"col-light-green fa fa-cube\"></i> text"
TableContainer
Modifier and Type | Field and Description |
---|---|
protected java.util.TreeMap<java.lang.String,java.lang.String> |
html
Deprecated.
|
protected java.util.TreeMap<java.lang.String,TableContainer> |
tables
Deprecated.
|
protected java.util.List<java.lang.String> |
values
Deprecated.
|
Constructor and Description |
---|
InspectContainer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addHtml(java.lang.String key,
java.lang.String html)
Deprecated.
|
void |
addTable(java.lang.String key,
TableContainer table)
Deprecated.
|
void |
addValue(java.lang.String label,
java.io.Serializable value)
Deprecated.
|
boolean |
hasOnlyValues()
Deprecated.
Check if InspectContainer has only values, and not HTML or Tables.
|
boolean |
hasValues()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
java.lang.String |
parseHtml()
Deprecated.
|
protected java.util.List<java.lang.String> values
protected java.util.TreeMap<java.lang.String,java.lang.String> html
protected java.util.TreeMap<java.lang.String,TableContainer> tables
public final void addValue(java.lang.String label, java.io.Serializable value)
public final void addHtml(java.lang.String key, java.lang.String html)
public final void addTable(java.lang.String key, TableContainer table)
public final java.lang.String parseHtml()
public final boolean hasOnlyValues()
public boolean isEmpty()
public final boolean hasValues()