com.google.gwt.user.client.ui.HasConstrainedValue<T> |
Known Indirect Subclasses
|
Class Overview
Implemented by widgets that pick from a set of values.
It is up to the implementation to decide (and document) how to behave when
setValue(Object)
is called with a value that is not in the
acceptable set. For example, throwing an IllegalArgumentException
, or
quietly adding the value to the acceptable set, are both reasonable choices.
Public Methods
public
abstract
void
setAcceptableValues
(Collection<T> values)
Set the acceptable values.
Parameters
values
| the acceptible values
|