Author: abelevich
Date: 2007-12-07 05:41:05 -0500 (Fri, 07 Dec 2007)
New Revision: 4587
Modified:
trunk/framework/api/src/main/java/org/richfaces/component/Draggable.java
Log:
add comments for the new methods
Modified: trunk/framework/api/src/main/java/org/richfaces/component/Draggable.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/component/Draggable.java 2007-12-07
01:34:19 UTC (rev 4586)
+++ trunk/framework/api/src/main/java/org/richfaces/component/Draggable.java 2007-12-07
10:41:05 UTC (rev 4587)
@@ -85,18 +85,27 @@
public void setOndragstart(String ondrag);
/**
- *
- * @return
- */
+ * Getter for JavaScript event handler; Called when drag operation end.
+ * @return javaScript code of event handler.
+ */
public String getOndragend();
public void setOndragend(String ondrag);
+
+ /**
+ * Getter for JavaScript event handler; Called when dragged element over the dropzone.
+ * @return javaScript code of event handler.
+ */
+ public String getOndropover();
public void setOndropover(String ondropover);
- public String getOndropover();
- public void setOndropout(String ondropout);
- public String getOndropout();
-
/**
+ * Getter for JavaScript event handler; Called when dragged element out the dropzone.
+ * @return javaScript code of event handler.
+ */
+ public String getOndropout();
+ public void setOndropout(String ondropout);
+
+ /**
* Append drag listener to component listeners collection
* @param listener
*/