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.ValueListBox<T> |
Implementation of HasConstrainedValue
based on a
SelectElement
.
A Renderer
is used to get user-presentable strings to
display in the select element.
[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 ValueListBox. | |||||||||||
Gets this object's value.
| |||||||||||
Set the acceptable values.
| |||||||||||
Sets this object's value.
| |||||||||||
Set the value and display it in the select element.
|
[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 ValueListBox.
Editor
of type E
Gets this object's value.
Set the acceptable values.
newValues | 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 |
Set the value and display it in the select element. Add the value to the acceptable set if it is not already there.
value | the object's new value |
---|