Package org.speakright.sro

Examples of org.speakright.sro.SROChoice


        ArrayList<String> L = new ArrayList<String>();
        L.add("red");
        L.add("blue");
        L.add("green");
        SROChoice sro = new SROChoice("color", L);
        m_sroChoice = sro;
        sro.setSampleValue1("red");
        sro.setSampleValue2("blue");
       
        sro.setModelVar("city");
        if (addConfirmer) {
//          qflow.setConfirmer(new ConfYNFlow());
          sro.setConfirmer(new SROConfirmYesNo("wine"));
        }
    flow.add(sro);

    flow.addPromptFlow("You said {$INPUT}");
        return flow;
View Full Code Here

TOP

Related Classes of org.speakright.sro.SROChoice

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.