Interface EditorWithErrorHandling<P,F>
- Type Parameters:
P- presenter typeF- editable data type
- All Superinterfaces:
org.gwtproject.editor.client.Editor<F>,HasShowMessage,com.google.gwt.user.client.ui.IsWidget,com.gwtplatform.mvp.client.View
- All Known Implementing Classes:
AbstractViewWithErrorHandling
public interface EditorWithErrorHandling<P,F>
extends com.gwtplatform.mvp.client.View, org.gwtproject.editor.client.Editor<F>, HasShowMessage
editor interface with default functionality used in forms.
- Author:
- Manfred Tremmel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gwtproject.editor.client.Editor
org.gwtproject.editor.client.Editor.Ignore, org.gwtproject.editor.client.Editor.Path -
Method Summary
Modifier and TypeMethodDescriptionvoidfill the form with data.voidsetConstraintViolations(Iterable<jakarta.validation.ConstraintViolation<?>> pvalidationErrorSet) display validation errors.voidset focus on first widget.voidsetPresenter(P ppresenter) set a reference to the presenter/activity.Methods inherited from interface de.knightsoftnet.gwtp.spring.client.rest.helper.HasShowMessage
showMessageMethods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidgetMethods inherited from interface com.gwtplatform.mvp.client.View
addToSlot, removeFromSlot, setInSlot
-
Method Details
-
setPresenter
set a reference to the presenter/activity.- Parameters:
ppresenter- reference to set
-
fillForm
fill the form with data.- Parameters:
pformData- data to fill into the form
-
setFocusOnFirstWidget
void setFocusOnFirstWidget()set focus on first widget. -
setConstraintViolations
void setConstraintViolations(Iterable<jakarta.validation.ConstraintViolation<?>> pvalidationErrorSet) display validation errors.- Parameters:
pvalidationErrorSet- list of violations
-