Author: [EMAIL PROTECTED]
Date: Thu Nov 13 08:56:22 2008
New Revision: 4055

Modified:
     
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/FormPanel.java

Log:
Javadoc tweaks.

Modified:  
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/FormPanel.java
==============================================================================
---  
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/FormPanel.java 
 
(original)
+++  
branches/1_6_clean_events/user/src/com/google/gwt/user/client/ui/FormPanel.java 
 
Thu Nov 13 08:56:22 2008
@@ -20,8 +20,8 @@
  import com.google.gwt.dom.client.Document;
  import com.google.gwt.dom.client.Element;
  import com.google.gwt.dom.client.FormElement;
-import com.google.gwt.event.shared.GwtEvent;
  import com.google.gwt.event.shared.EventHandler;
+import com.google.gwt.event.shared.GwtEvent;
  import com.google.gwt.event.shared.HandlerRegistration;
  import com.google.gwt.user.client.Command;
  import com.google.gwt.user.client.DeferredCommand;
@@ -85,6 +85,10 @@

      private String resultHtml;

+    /**
+     * Create a submit complete event
+     * @param resultsHtml the results from submitting the form
+     */
      protected SubmitCompleteEvent(String resultsHtml) {
        this.resultHtml = resultsHtml;
      }
@@ -403,6 +407,7 @@
     * Adds a [EMAIL PROTECTED] SubmitCompleteEvent} handler.
     *
     * @param handler the handler
+   * @return the handler registration used to remove the handler
     */
    public HandlerRegistration addSubmitCompleteHandler(
        SubmitCompleteHandler handler) {
@@ -413,6 +418,7 @@
     * Adds a [EMAIL PROTECTED] SubmitEvent} handler.
     *
     * @param handler the handler
+   * @return the handler registration used to remove the handler
     */
    public HandlerRegistration addSubmitHandler(SubmitHandler handler) {
      return addHandler(handler, SubmitEvent.getType());

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to