
org.dashbuilder.common.client.editor.HasConstrainedValue Maven / Gradle / Ivy
The newest version!
package org.dashbuilder.common.client.editor;
import com.google.gwt.editor.client.Editor;
/**
* Editor that accepts a set of predefined values.
*
* @since 0.4.0
*/
public interface HasConstrainedValue {
/**
* 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.
*
* @param acceptableValues Acceptable values for the editor.
*/
@Editor.Ignore
void setAcceptableValues(T acceptableValues);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy