StringBuffer sb = new StringBuffer();
sb.append("<div class='{cls}-wrap'><div class='{cls}-inner'><div class='{cls}-bar'>");
sb.append("<div class='{cls}-text'><div> </div></div></div>");
sb.append("<div class='{cls}-text {cls}-text-back'><div> </div></div></div></div>");
Template t = new Template(sb.toString());
setElement(t.create(new Params("cls", baseStyle)), target, index);
El inner = el().firstChild();
progressBar = inner.firstChild();
textTopElem = progressBar.firstChild();
textBackElem = inner.childNode(1);