APISonar


imagej.workflowpipes.pipesentity.UI.UI

> imagej > workflowpipes > pipesentity > UI > UI
imagej APIs workflowpipes APIs pipesentity APIs UI APIs UI APIs

Example 1
private UI getUI(List<NameTypeDesc> nameTypeDescList) {
            StringBuilder stringBuilder = new StringBuilder();
            for (NameTypeDesc nameTypeDesc : nameTypeDescList) {
                stringBuilder.append("\n\t\t<div class=\"horizontal\">\n\t\t\t<label>");
                stringBuilder.append(nameTypeDesc.getDesc());
                stringBuilder.append(": </label><input name=\"");
                stringBuilder.append(nameTypeDesc.getName());
                stringBuilder.append("\" type=\"");
                stringBuilder.append(nameTypeDesc.getType());
                stringBuilder.append("\" required=\"true\"/>\n\t\t</div> ");
            }
            stringBuilder.append(" \n\t\t");
            return new UI(stringBuilder.toString());
        }