pivot-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From noelgran...@apache.org
Subject svn commit: r1189659 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java
Date Thu, 27 Oct 2011 08:16:50 GMT
Author: noelgrandin
Date: Thu Oct 27 08:16:50 2011
New Revision: 1189659

URL: http://svn.apache.org/viewvc?rev=1189659&view=rev
Log:
add javadoc to mapPointFromAncestor(Container,Point)

Modified:
    pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java?rev=1189659&r1=1189658&r2=1189659&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java Thu Oct 27 08:16:50 2011
@@ -1649,6 +1649,16 @@ public abstract class Component implemen
         return coordinates;
     }
 
+    /**
+     * Maps a point in this component's coordinate system to the specified
+     * ancestor's coordinate space.
+     *
+     * @param location The coordinates in this component's coordinate space
+     *
+     * @return
+     * A point containing the translated coordinates, or <tt>null</tt> if the
+     * component is not a descendant of the specified ancestor.
+     */
     public Point mapPointToAncestor(Container ancestor, Point location) {
         if (location == null) {
             throw new IllegalArgumentException();



Mime
View raw message