public class ValidValueProvider
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ValidValueProvider.ValidValue
Defines a value that is valid for a certain property.
|
Constructor and Description |
---|
ValidValueProvider(java.util.List<ValidValueProvider.ValidValue> values)
Creates the provider for a list of well defined valid values
|
ValidValueProvider(java.lang.Object[] values)
Creates a value provider for values without translation.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidValueProvider.ValidValue> |
getValidValues()
Returns the valid values of a property
|
public ValidValueProvider(@Nonnull java.util.List<ValidValueProvider.ValidValue> values)
values
- the list of valid values that will be returned by this providerpublic ValidValueProvider(java.lang.Object[] values)
values
- the list of valid values that will be returned by this providerpublic java.util.List<ValidValueProvider.ValidValue> getValidValues()
null
Copyright © 2010-2022 by i-net software GmbH