Examples of Prompt


Examples of org.jboss.as.test.integration.ejb.mdb.dynamic.api.Prompt

        if (beanClassName == null)
            throw new InvalidPropertyException("beanClass is null");

        final Class<?> beanClass = beanClass();
        // Set Prompt
        final Prompt prompt = (Prompt) beanClass.getAnnotation(Prompt.class);
        if (prompt != null) {
            this.prompt = prompt.value();
        }

        // Get Commands
        final Method[] methods = beanClass.getMethods();
        for (Method method : methods) {
View Full Code Here

Examples of org.speakright.core.render.Prompt

  public void addPrompt(String ptext)
  {
    //if the prompt added in the ctor is empty then replace it
    //This avoids empty <prompt> tags in the voicexml.
    if (m_promptL.size() == 1) {
      Prompt prompt = firstPrompt();
      if (prompt.ptext().length() == 0) {
        prompt.setPText(ptext);
        return;
      }
    }
    m_promptL.add(new Prompt(ptext));
  }
View Full Code Here

Examples of pivot.wtk.Prompt

                                body = (Component)wtkxSerializer.readObject("pivot/tutorials/alert.wtkx");
                            } catch(Exception exception) {
                                System.out.println(exception);
                            }

                            Prompt prompt = new Prompt(MessageType.QUESTION, "Please select your favorite icon:",
                                options, body);
                            prompt.setTitle("Select Icon");
                            prompt.setSelectedOption(0);
                            prompt.getDecorators().update(0, new ReflectionDecorator());

                            prompt.open(window);
                        } else {
                            String message = (String)userData.get("message");
                            Prompt.prompt(MessageType.decode(messageType), message, window);
                        }
                    }
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.