]> source.dussan.org Git - gwtquery.git/commitdiff
Update javadoc of width and height methods
authorManolo Carrasco <manolo@apache.org>
Sun, 23 Jan 2011 21:22:19 +0000 (21:22 +0000)
committerManolo Carrasco <manolo@apache.org>
Sun, 23 Jan 2011 21:22:19 +0000 (21:22 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java
gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java

index 6cc8df8c9ac3b65f345b02da5eaca12c5d86eee3..ba00f65ac9a620f813d8d6572e2150924a76ca6d 100644 (file)
@@ -1285,6 +1285,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
 \r
   /**\r
    * Get the current computed, pixel, height of the first matched element.\r
+   * It does not include margin, padding nor border.\r
    */\r
   public int height() {\r
     return (int)cur("height", true);\r
@@ -2544,6 +2545,7 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> {
 \r
   /**\r
    * Get the current computed, pixel, width of the first matched element.\r
+   * It does not include margin, padding nor border.\r
    */\r
   public int width() {\r
     return (int)cur("width", true);\r
index e1ee4d398ab2cd9c265c823bf731a256202e88d6..baf0a6805d2dd7c50724362b24804da8a7759504 100644 (file)
@@ -504,6 +504,7 @@ public interface LazyGQuery<T> extends LazyBase<T>{
 
   /**
    * Get the current computed, pixel, height of the first matched element.
+   * It does not include margin, padding nor border.
    */
   int height();
 
@@ -1168,6 +1169,7 @@ public interface LazyGQuery<T> extends LazyBase<T>{
 
   /**
    * Get the current computed, pixel, width of the first matched element.
+   * It does not include margin, padding nor border.
    */
   int width();