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.editor.ui.client.ValueBoxEditorDecorator<T> |
A simple decorator to display leaf widgets with an error message.
The decorator may have exactly one ValueBoxBase added though an
<e:valuebox>
child tag.
For example:
@UiField ValueBoxEditorDecorator<String> name;
<e:ValueBoxEditorDecorator ui:field='name'> <e:valuebox> <g:TextBox /> </e:valuebox> </e:ValueBoxEditorDecorator>
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.UIObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a ValueBoxEditorDecorator.
| |||||||||||
Constructs a ValueBoxEditorDecorator using a
ValueBoxBase
widget and a ValueBoxEditor editor. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the associated
ValueBoxEditor . | |||||||||||
Sets the associated
ValueBoxEditor . | |||||||||||
Set the widget that the EditorPanel will display.
| |||||||||||
The default implementation will display, but not consume, received errors
whose
getEditor() method returns the Editor
passed into setEditor(ValueBoxEditor . |
[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.HasEditorErrors
| |||||||||||
From interface
com.google.gwt.editor.client.IsEditor
| |||||||||||
From interface com.google.gwt.event.logical.shared.HasAttachHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface
com.google.gwt.user.client.EventListener
| |||||||||||
From interface
com.google.gwt.user.client.ui.IsWidget
|
Constructs a ValueBoxEditorDecorator.
Constructs a ValueBoxEditorDecorator using a ValueBoxBase
widget and a ValueBoxEditor
editor.
widget | the widget |
---|---|
editor | the editor |
Set the widget that the EditorPanel will display. This method will
automatically call setEditor(ValueBoxEditor
.
widget | a ValueBoxBase widget
|
---|
The default implementation will display, but not consume, received errors
whose getEditor()
method returns the Editor
passed into setEditor(ValueBoxEditor
.
errors | a List of EditorError instances
|
---|