org.speakright.core.render
Class PromptSet
java.lang.Object
org.speakright.core.render.FormElement
org.speakright.core.render.PromptSet
- All Implemented Interfaces:
- java.io.Serializable
public class PromptSet
- extends FormElement
- implements java.io.Serializable
A set of prompts to be used for a question. Can contain one of
each prompt type.
- Author:
- Ian Rae
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PromptSet
public PromptSet()
add
public void add(Prompt prompt)
addIf
public void addIf(boolean b,
Prompt prompt)
find
public Prompt find(PromptType type,
int subIndex)
findAll
public java.util.ArrayList findAll(PromptType.Family family)
renderPrompts
public void renderPrompts(PromptPipeline pipeline)
- Description copied from class:
FormElement
- Render any prompts in this element using the pipeline.
- Overrides:
renderPrompts in class FormElement
prompts
public java.util.ArrayList<Prompt> prompts()