public interface

HasConstrainedValue

implements HasValue<T>
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.

Summary

Public Methods
abstract void setAcceptableValues(Collection<T> values)
Set the acceptable values.
[Expand]
Inherited Methods
From interface com.google.gwt.event.logical.shared.HasValueChangeHandlers
From interface com.google.gwt.event.shared.HasHandlers
From interface com.google.gwt.user.client.TakesValue
From interface com.google.gwt.user.client.ui.HasValue

Public Methods

public abstract void setAcceptableValues (Collection<T> values)

Set the acceptable values.

Parameters
values the acceptible values