Interface EditorWithErrorHandling<P,F>

Type Parameters:
P - presenter type
F - 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 Type
    Method
    Description
    void
    fillForm(F formData)
    fill the form with data.
    void
    setConstraintViolations(Iterable<jakarta.validation.ConstraintViolation<?>> validationErrorSet)
    display validation errors.
    void
    set focus on first widget.
    void
    setPresenter(P presenter)
    set a reference to the presenter/activity.

    Methods inherited from interface de.knightsoftnet.gwtp.spring.client.rest.helper.HasShowMessage

    showMessage

    Methods inherited from interface com.google.gwt.user.client.ui.IsWidget

    asWidget

    Methods inherited from interface com.gwtplatform.mvp.client.View

    addToSlot, removeFromSlot, setInSlot
  • Method Details

    • setPresenter

      void setPresenter(P presenter)
      set a reference to the presenter/activity.
      Parameters:
      presenter - reference to set
    • fillForm

      void fillForm(F formData)
      fill the form with data.
      Parameters:
      formData - data to fill into the form
    • setFocusOnFirstWidget

      void setFocusOnFirstWidget()
      set focus on first widget.
    • setConstraintViolations

      void setConstraintViolations(Iterable<jakarta.validation.ConstraintViolation<?>> validationErrorSet)
      display validation errors.
      Parameters:
      validationErrorSet - list of violations