click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r769096 - /incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java
Date Mon, 27 Apr 2009 18:39:51 GMT
Author: sabob
Date: Mon Apr 27 18:39:50 2009
New Revision: 769096

URL: http://svn.apache.org/viewvc?rev=769096&view=rev
Log:
added javadoc to methods

Modified:
    incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java?rev=769096&r1=769095&r2=769096&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java
(original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/cayenne/FormTablePage.java
Mon Apr 27 18:39:50 2009
@@ -113,6 +113,11 @@
         removeLink.setAttribute("onclick", "return window.confirm('Are you sure you want
to delete this record?');");
     }
 
+    /**
+     * The save event handler.
+     *
+     * @return true if processing should continue, false otherwise
+     */
     public boolean onSaveClick() {
         if (form.isValid()) {
             DataObject dataObject = form.getDataObject();
@@ -124,11 +129,21 @@
         return true;
     }
 
+    /**
+     * The cancel event handler.
+     *
+     * @return true if processing should continue, false otherwise
+     */
     public boolean onCancelClick() {
         clear();
         return true;
     }
 
+    /**
+     * The edit event handler.
+     *
+     * @return true if processing should continue, false otherwise
+     */
     public boolean onEditClick() {
         Integer id = editLink.getValueInteger();
         if (id != null) {
@@ -138,6 +153,11 @@
         return true;
     }
 
+    /**
+     * The remove event handler.
+     *
+     * @return true if processing should continue, false otherwise
+     */
     public boolean onRemoveClick() {
         Integer id = removeLink.getValueInteger();
         if (id != null) {
@@ -150,6 +170,9 @@
         return true;
     }
 
+    /**
+     * Clear the form dataObject and any errors it might have.
+     */
     public void clear() {
         form.setDataObject(null);
         form.clearErrors();
@@ -190,7 +213,7 @@
     /**
      * Return the list of DataObjects to display in the table.
      *
-     * @return the
+     * @return the list of DataObject to display in the table
      */
     @SuppressWarnings("unchecked")
     public abstract List getRowList();



Mime
View raw message