java.lang.Object | ||
↳ | com.google.gwt.editor.client.adapters.TakesValueEditor<T> | |
↳ | com.google.gwt.editor.ui.client.adapters.ValueBoxEditor<T> |
Adapts the ValueBoxBase
interface to the Editor framework. This
adapter uses getValueOrThrow()
to report parse errors to
the Editor framework.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new ValueBoxEditor that adapts a
ValueBoxBase peer
instance. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
EditorDelegate for this instance. | |||||||||||
Calls
getValueOrThrow() . | |||||||||||
Returns a new TakesValueEditor that adapts a
ValueBoxBase
instance. | |||||||||||
Sets the
EditorDelegate for this instance. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.editor.client.adapters.TakesValueEditor
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.editor.client.HasEditorDelegate
| |||||||||||
From interface
com.google.gwt.user.client.TakesValue
|
Constructs a new ValueBoxEditor that adapts a ValueBoxBase
peer
instance.
peer | a ValueBoxBase instance of type T
|
---|
Calls getValueOrThrow()
. If a ParseException
is thrown, it will be available through
EditorError.getUserData()
.
Returns a new TakesValueEditor that adapts a ValueBoxBase
instance.
valueBox | a ValueBoxBase instance to adapt |
---|
ValueBoxBase
instance
Sets the EditorDelegate
for this instance. This method is only
called by the driver.
delegate | an EditorDelegate , or null |
---|