You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by no...@apache.org on 2011/07/27 15:55:30 UTC

svn commit: r1151466 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java

Author: noelgrandin
Date: Wed Jul 27 13:55:29 2011
New Revision: 1151466

URL: http://svn.apache.org/viewvc?rev=1151466&view=rev
Log:
add some method doc

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

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java?rev=1151466&r1=1151465&r2=1151466&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java Wed Jul 27 13:55:29 2011
@@ -31,6 +31,9 @@ public abstract class Viewport extends C
      * Viewport skin interface. Viewport skins must implement this.
      */
     public interface Skin {
+        /**
+         * The bounds of the Viewport within the container, for example, in ScrollPaneSkin, this excludes the scrollbars.
+         */
         public Bounds getViewportBounds();
     }
 
@@ -157,6 +160,9 @@ public abstract class Viewport extends C
         this.consumeRepaint = consumeRepaint;
     }
 
+    /**
+     * The bounds of the Viewport within the container, for example, in ScrollPaneSkin, this excludes the scrollbars.
+     */
     public Bounds getViewportBounds() {
         Viewport.Skin viewportSkin = (Viewport.Skin)getSkin();
         return viewportSkin.getViewportBounds();