public class PromptDesigner extends Object implements Iterable<PromptElement>
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
PromptElement element)
Inserts the PromptElement at the specified position.
|
void |
add(PromptElement element)
Adds a new PromptElement at the end of this PromptSet.
|
void |
clear()
Removes all PromptElements from this PromptSet.
|
String |
getCaption()
Returns the caption of this PromptSet.
|
Iterator<PromptElement> |
iterator()
Returns an
java.util.Iterator which can used to read PromptElements of this PromptSet. |
void |
setCaption(String caption)
Sets the caption of this PromptSet.
|
int |
size()
Returns the number of prompt elements in this PromptSet.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic int size()
-1 if the request has not been sent.public Iterator<PromptElement> iterator()
java.util.Iterator which can used to read PromptElements of this PromptSet.
The remove() method of the Iterator can be used to remove elements.iterator in interface Iterable<PromptElement>public void clear()
public void add(PromptElement element)
element - PromptElementpublic void add(int index,
PromptElement element)
index - Indexelement - PromptElementpublic String getCaption()
public void setCaption(String caption)
caption - CaptionCopyright © 2021. All rights reserved.