Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add some Javadoc explanation to FillPane (and correct a small typo th…


git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 154f3afde334ac31679d30ee7fee188a90505d59 1 parent 435e8e7
Roger Lee Whitcomb authored
Showing with 9 additions and 2 deletions.
  1. +9 −2 wtk/src/org/apache/pivot/wtk/
11 wtk/src/org/apache/pivot/wtk/
@@ -19,8 +19,15 @@
import org.apache.pivot.util.ListenerList;
- * Container that fills it space and then arranges components
- * in a line, either vertically or horizontally.
+ * Container that fills the space it has been given inside its parent
+ * and then arranges its child components in a line, either vertically
+ * or horizontally.
+ * <p> This is useful, for instance, as a shortcut to making a one
+ * row and one column {@link TablePane} or {@link GridPane}. Adding
+ * just one child, such as a {@link ScrollPane}, will allow that child
+ * to fill the containing area (as opposed to using a {@link BoxPane} which
+ * will only size itself to the size of its children, which doesn't work
+ * well with a <tt>ScrollPane</tt>).
public class FillPane extends Container {
private static class FillPaneListenerList extends WTKListenerList<FillPaneListener>
Please sign in to comment.
Something went wrong with that request. Please try again.