Package org.speakright.sro

Examples of org.speakright.sro.SROConfirmYesNo


        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


          if (useNBestConfirmer) {
            //qflow.setConfirmer(new SROConfirmNBest("wine"));
            qflow.enableNBest(4); //adds SROConfirmNBest
          }
          else {
            qflow.setConfirmer(new SROConfirmYesNo("wine"));
          }
        }
    flow.add(qflow);

    flow.add(new PFlow("You said {$INPUT}"));
View Full Code Here

        SROListNavigator qflow = new SROListNavigator("flights", L);
        m_sroListNav = qflow;
        qflow.setName("Lister");
        qflow.setModelVar("city");
        if (addConfirmer) {
          qflow.setConfirmer(new SROConfirmYesNo("wine"));
        }
        qflow.addCommand("cancel", new SROCancelCommand());
       
    flow.add(qflow);
View Full Code Here

        SROListNavigator qflow = new SROListNavigator("flights", L, 0);
        m_sroListNav = qflow;
        qflow.setName("Lister");
        qflow.setModelVar("city");
        if (addConfirmer) {
          qflow.setConfirmer(new SROConfirmYesNo("wine"));
        }
    flow.add(qflow);

        return flow;
  }
View Full Code Here

TOP

Related Classes of org.speakright.sro.SROConfirmYesNo

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.