public abstract class AbstractSelectionFieldDescriptor extends FieldDescriptor
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSelectionFieldDescriptor.OptionValue
A class representing an option value.
|
FieldDescriptor.FieldValidationWrapper
Modifier and Type | Field and Description |
---|---|
String |
NONE_SELECTED |
Modifier and Type | Method and Description |
---|---|
String |
getFormattedValue(String value)
Gets the option name associated with the specified value.
|
List<AbstractSelectionFieldDescriptor.OptionValue> |
getOptionValues()
Gets the available option values for this field.
|
void |
setOptionValues(List<AbstractSelectionFieldDescriptor.OptionValue> optionValues)
Sets the available option values for this field.
|
addValidator, addValidator, getDefaultForLegacyConfig, getDefaultValue, getDescription, getLabel, getName, getValidationChain, setDefaultForLegacyConfig, setDefaultValue, setLabel
public final String NONE_SELECTED
public List<AbstractSelectionFieldDescriptor.OptionValue> getOptionValues()
public void setOptionValues(List<AbstractSelectionFieldDescriptor.OptionValue> optionValues)
optionValues
- the new list of option values.public String getFormattedValue(String value)
getFormattedValue
in class FieldDescriptor
value
- The option value.Copyright 2019 Ping Identity Corp. All rights reserved.