Package net.mindengine.galen.reports.model

Examples of net.mindengine.galen.reports.model.LayoutObject


        if (currentObject == null) {
            if (cachedPageTestObjectsMap.containsKey(objectName)) {
                currentObject = cachedPageTestObjectsMap.get(objectName);
            }
            else {
                currentObject = new LayoutObject();
                currentObject.setName(objectName);
               
                PageElement objectPageElement = pageValidation.findPageElement(objectName);
                if (objectPageElement != null && objectPageElement.isVisible()) {
                    currentObject.setArea(objectPageElement.getArea());
                }
               
                currentSection.getObjects().add(currentObject);
                cachedPageTestObjectsMap.put(objectName, currentObject);
            }
        }
        else {
            LayoutObject parentObject = currentObject;
            currentObject = new LayoutObject(parentObject);
            currentObject.setName(objectName);
           
            PageElement objectPageElement = pageValidation.findPageElement(objectName);
            if (objectPageElement != null && objectPageElement.isVisible()) {
                currentObject.setArea(objectPageElement.getArea());
View Full Code Here


        report.setSections(sections);


        List<LayoutObject> objects = new LinkedList<LayoutObject>();
        section.setObjects(objects);
        LayoutObject object = new LayoutObject();
        objects.add(object);


        List<LayoutSpec> specs = new LinkedList<LayoutSpec>();
        object.setSpecs(specs);

        specs.add(passedSpec());
        specs.add(failedSpec());
        specs.add(failedSpec());
        specs.add(failedSpec());
View Full Code Here

TOP

Related Classes of net.mindengine.galen.reports.model.LayoutObject

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.