public interface HasConstrainedValue<T>
Editor that accepts a set of predefined values.
Modifier and Type | Method and Description |
---|---|
void |
setAcceptableValues(T acceptableValues)
Sets acceptable values for the editor.
|
@Editor.Ignore void setAcceptableValues(T acceptableValues)
Sets acceptable values for the editor.
If no acceptable values set BEFORE editing a T instance, the editor can either disable /remove/modify the editor's value/s or just not edit any value.
acceptableValues
- Acceptable values for the editor.Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.