Package cn.com.elements.containstag.label

Examples of cn.com.elements.containstag.label.LabelElementTag


                continue;
            }

            DivElementTag elementDiv = new DivElementTag(e.id() + _DIV_ID, _CONDITION_CSS);
            // 标签元素
            LabelElementTag labelElement = new LabelElementTag(e.id() + _LABEL_ID, _DISPLAY_LABEL_CSS);
            labelElement.setValue(Element.LabelContent.getLabelContent(StringUtil.isEmpty(e.label()) ? e.id().toUpperCase() : e.label()));
            elementDiv.addChildrenTag(labelElement);

            super.parserElement(null, e, elementDiv, null, _REQURIED_CSS, super.getParser().getValue(e));

            conditionsDiv.addChildrenTag(elementDiv);
View Full Code Here


                contentDiv.addChildrenTag(checkboxElement);
            }
            thContainer.addChildrenTag(contentDiv);
            theadContainer.addChildrenTag(thContainer);
        }
        LabelElementTag labelElement = null;
        for (Element column : g.columns()) {
            thContainer = new TableThElementTag();
            contentDiv = new DivElementTag(column.id() + _CONTENT_TABLE_ELEMNTS_DIV_ID, _CONTENT_DIV_CSS);
            labelElement = new LabelElementTag();
            labelElement.setValue(Element.LabelContent.getLabelContent(StringUtil.isEmpty(column.label()) ? column.id().toUpperCase() : column.label()));
            contentDiv.addChildrenTag(labelElement);
            if (column.required()) {
                parserRequiredElement(column, contentDiv, _REQUIRED_CSS);
            }
            theadContainer.addChildrenTag(thContainer);
View Full Code Here

                continue;
            }

            DivElementTag contentDiv = new DivElementTag(e.id() + _DIV_ID, _DIV_CSS);
            // 标签元素
            LabelElementTag labelElement = new LabelElementTag();
            labelElement.setValue(Element.LabelContent.getLabelContent(StringUtil.isEmpty(e.label()) ? e.id().toUpperCase() : e.label()));
            contentDiv.addChildrenTag(labelElement);


            // 元素内容
            DivElementTag elementDiv = new DivElementTag(e.id() + _INPUT_DIV_ID, _INPUT_DIV_CSS);
View Full Code Here

TOP

Related Classes of cn.com.elements.containstag.label.LabelElementTag

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.