java.lang.Object | ||||
↳ | com.google.gwt.user.client.ui.UIObject | |||
↳ | com.google.gwt.user.client.ui.Widget | |||
↳ | com.google.gwt.user.client.ui.Composite | |||
↳ | com.google.gwt.user.client.ui.ValuePicker<T> |
Allows the user to pick a single value from a list.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.UIObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a
ValueChangeEvent handler. | |||||||||||
Returns a
TakesValueEditor backed by the ValuePicker. | |||||||||||
Returns this view.
| |||||||||||
Gets this object's value.
| |||||||||||
Set the acceptable values.
| |||||||||||
Sets this object's value.
| |||||||||||
Sets this object's value without firing any events.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.Composite
| |||||||||||
From class
com.google.gwt.user.client.ui.Widget
| |||||||||||
From class
com.google.gwt.user.client.ui.UIObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.editor.client.IsEditor
| |||||||||||
From interface com.google.gwt.event.logical.shared.HasAttachHandlers | |||||||||||
From interface com.google.gwt.event.logical.shared.HasValueChangeHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface
com.google.gwt.user.client.EventListener
| |||||||||||
From interface
com.google.gwt.user.client.TakesValue
| |||||||||||
From interface
com.google.gwt.user.client.ui.HasConstrainedValue
| |||||||||||
From interface
com.google.gwt.user.client.ui.HasValue
| |||||||||||
From interface
com.google.gwt.user.client.ui.IsWidget
|
Adds a ValueChangeEvent
handler.
handler | the handler |
---|
Returns a TakesValueEditor
backed by the ValuePicker.
Editor
of type E
Gets this object's value.
Set the acceptable values.
places | the acceptible values |
---|
Sets this object's value. Fires
ValueChangeEvent
when
fireEvents is true and the new value does not equal the existing value.
It is acceptable to fail assertions or throw (documented) unchecked exceptions in response to bad values.
value | the object's new value |
---|---|
fireEvents | fire events if true and value is new |
Sets this object's value without firing any events. This should be identical to calling setValue(value, false).
It is acceptable to fail assertions or throw (documented) unchecked exceptions in response to bad values.
Widgets must accept null as a valid value. By convention, setting a widget to
null clears value, calling getValue() on a cleared widget returns null. Widgets
that can not be cleared (e.g. CheckBox
) must find another valid meaning
for null input.
value | the object's new value |
---|