P - presenter typeF - editable data typepublic interface EditorWithErrorHandling<P,F> extends com.gwtplatform.mvp.client.View, com.google.gwt.editor.client.Editor<F>, HasShowMessage
| Modifier and Type | Method and Description |
|---|---|
void |
fillForm(F pformData)
fill the form with data.
|
void |
setConstraintViolations(Iterable<javax.validation.ConstraintViolation<?>> pvalidationErrorSet)
display validation errors.
|
void |
setFocusOnFirstWidget()
set focus on first widget.
|
void |
setPresenter(P ppresenter)
set a reference to the presenter/activity.
|
addToSlot, removeFromSlot, setInSlotshowMessagevoid setPresenter(P ppresenter)
ppresenter - reference to setvoid fillForm(F pformData)
pformData - data to fill into the formvoid setFocusOnFirstWidget()
void setConstraintViolations(Iterable<javax.validation.ConstraintViolation<?>> pvalidationErrorSet)
pvalidationErrorSet - list of violationsCopyright © 2015–2018. All rights reserved.