Package org.jemmy.fx

Examples of org.jemmy.fx.ByWindowType


        public void select(final Object state) {
            if (!isShowing()) {
                ComboBoxWrap.this.as(Parent.class, Node.class).lookup(new ByStyleClass<Node>("arrow-button")).wrap().mouse().click();
            }
            Parent<Node> popupContainer =
                    Root.ROOT.lookup(new ByWindowType(PopupWindow.class)).
                    as(Parent.class, Node.class);

            Wrap<? extends ListView> list = popupContainer.lookup(ListView.class).wrap();
            list.as(Selectable.class).selector().select(state);
        }
View Full Code Here


        public void select(final Object state) {
            if (!isShowing()) {
                mouse().click();
            }
            Parent<Node> popupContainer =
                    Root.ROOT.lookup(new ByWindowType(PopupWindow.class)).
                    as(Parent.class, Node.class);

            // TODO: figure out what to do with duplicate strings
            popupContainer.lookup(Node.class, new LookupCriteria<Node>() {
                public boolean check(Node cntrl) {
View Full Code Here

TOP

Related Classes of org.jemmy.fx.ByWindowType

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.