public class ListBoxValues extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListBoxValues.ValueTester |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
acceptableValuesWithCustomValues |
protected List<String> |
acceptableValuesWithoutCustomValues |
protected String |
customPrompt |
protected List<String> |
customValues |
static String |
EDIT_SUFFIX |
protected String |
editPrefix |
| Constructor and Description |
|---|
ListBoxValues(String customPrompt,
String editPrefix,
ListBoxValues.ValueTester valueTester) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomValue(String newValue,
String oldValue) |
void |
addValues(List<String> acceptableValues) |
protected void |
clear() |
List<String> |
getAcceptableValuesWithCustomValues() |
List<String> |
getAcceptableValuesWithoutCustomValues() |
String |
getEditPrefix() |
protected String |
getEditValuePrompt(String editPrefix) |
String |
getNonCustomValueForUserString(String userValue) |
boolean |
isCustomValue(String value) |
String |
toString() |
List<String> |
update(String currentValue) |
protected String customPrompt
protected String editPrefix
public static final String EDIT_SUFFIX
public ListBoxValues(String customPrompt, String editPrefix, ListBoxValues.ValueTester valueTester)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.