Package org.jemmy.control

Examples of org.jemmy.control.Wrapper


        fillAll(descr, rootNode, null);
    }

    private void fillAll(HierarchyDescriptor subDescr, DefaultMutableTreeNode parent, Wrap wrap) {
        ControlList hierarchy = subDescr.getHierarchy();
        Wrapper wrapper = subDescr.getWrapper();
        List controls = null;
        if (wrap == null) {
            controls = hierarchy.getControls();
        } else {
            if (hierarchy instanceof ControlHierarchy) {
                controls = ((ControlHierarchy) hierarchy).getChildren(wrap.getControl());
            }
        }
        MyTreeNode node;
        if (controls != null) {
            for (Object c : controls) {
                node = new MyTreeNode(c, wrapper.wrap(Object.class, c));
                parent.add(node);
                fillAll(subDescr, node, node.getWrap());
            }
        }
        if (wrap != null) {
View Full Code Here

TOP

Related Classes of org.jemmy.control.Wrapper

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.