public class DadgetNodeForm extends SimpleFormView
  • Constructor Details

  • Method Details

    • configureSimpleForm

      public void configureSimpleForm(SimpleForm form)
    • getViewComponent

      public Component getViewComponent(AbstractNodeDto selectedNode)
      Returns the main view component for the given node and configures the form's submit button to react to changes.

      The method delegates to SimpleFormView.getViewComponent(AbstractNodeDto) to build the base component, then ensures the submit button is enabled and registers

      invalid reference
      ValueChangeHandler
      s on all form fields so that any change in a field will (re-)enable the submit button.
      Overrides:
      getViewComponent in class SimpleFormView
      Parameters:
      selectedNode - the
      invalid reference
      AbstractNodeDto
      that is currently selected and whose data should be displayed and edited in the form
      Returns:
      the initialized GXT
      invalid reference
      Component
      representing this form view