Package org.sgx.yuigwt.yui.widget.autocomplete

Examples of org.sgx.yuigwt.yui.widget.autocomplete.AutoComplete.after()


    final Node inputEl = getNavContent().appendChild("<input type=\"text\"></input>");

    inputEl.setStyles(Style.create().width("90%"));
    AutoComplete ac = Y.newAutoComplete(AutoCompleteConfig.create().resultHighlighter("phraseMatch").resultFilters("phraseMatch").inputNode(inputEl).source(allTestNames)
        .render(true));
    ac.after(AutoComplete.EVENT_SELECT, new EventCallback<AutoCompleteEvent>() {
      @Override
      public void call(AutoCompleteEvent e) {
        Test test = util.getTestByName(inputEl.get("value"));
        setCurrentTest(test);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.