public class ChoiceList extends Object
| Constructor and Description |
|---|
ChoiceList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String... values)
Convenience method the creates a simple string choice list.
|
List<Choice> |
getChoices()
Returns a list of list of choice items for this choice list.
|
String |
getDisplayName()
Returns the display name of the choice list.
|
void |
setChoices(List<Choice> choices)
Sets the choices of the choice list.
|
void |
setDisplayName(String displayName)
Sets the display name of the choice list.
|
public List<Choice> getChoices()
public void setChoices(List<Choice> choices)
choices - the list of choices.public String getDisplayName()
public void setDisplayName(String displayName)
displayName - public void add(String... values)
values - the values of the choice list.Copyright © 2018. All rights reserved.