Search in sources :

Example 6 with Css

use of org.structr.api.util.html.attr.Css in project structr by structr.

the class StructrJsonHtmlWriter method beginArray.

@Override
public RestWriter beginArray() throws IOException {
    // print [
    currentElement.inline("span").text("[");
    currentElement = currentElement.block(UL).attr(new AtDepth(CLOSE_LEVEL, new Css("collapsibleList")));
    hasName = false;
    return this;
}
Also used : Css(org.structr.api.util.html.attr.Css) AtDepth(org.structr.api.util.html.attr.AtDepth)

Aggregations

Css (org.structr.api.util.html.attr.Css)6 AtDepth (org.structr.api.util.html.attr.AtDepth)4 Attr (org.structr.api.util.html.Attr)2 Tag (org.structr.api.util.html.Tag)2 Href (org.structr.api.util.html.attr.Href)2 If (org.structr.api.util.html.attr.If)2 Onload (org.structr.api.util.html.attr.Onload)2 Type (org.structr.api.util.html.attr.Type)2 App (org.structr.core.app.App)2 StructrApp (org.structr.core.app.StructrApp)2 SchemaNode (org.structr.core.entity.SchemaNode)2 Tx (org.structr.core.graph.Tx)2