Class ValueBoxEditorDecorator<T>

Type Parameters:
T - the type of data being edited
All Implemented Interfaces:
Editor<T>, HasEditorErrors<T>, IsEditor<ValueBoxEditor<T>>, HasAttachHandlers, HasHandlers, EventListener, HasVisibility, IsRenderable, IsWidget

public class ValueBoxEditorDecorator<T> extends Composite implements HasEditorErrors<T>, IsEditor<ValueBoxEditor<T>>
A simple decorator to display leaf widgets with an error message.

Use in UiBinder Templates

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>