Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…ere).

git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1339415 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 154f3afde334ac31679d30ee7fee188a90505d59 1 parent 435e8e7
Roger Lee Whitcomb authored

Showing 1 changed file with 9 additions and 2 deletions. Show diff stats Hide diff stats

  1. +9 2 wtk/src/org/apache/pivot/wtk/FillPane.java
11 wtk/src/org/apache/pivot/wtk/FillPane.java
@@ -19,8 +19,15 @@
19 19 import org.apache.pivot.util.ListenerList;
20 20
21 21 /**
22   - * Container that fills it space and then arranges components
23   - * in a line, either vertically or horizontally.
  22 + * Container that fills the space it has been given inside its parent
  23 + * and then arranges its child components in a line, either vertically
  24 + * or horizontally.
  25 + * <p> This is useful, for instance, as a shortcut to making a one
  26 + * row and one column {@link TablePane} or {@link GridPane}. Adding
  27 + * just one child, such as a {@link ScrollPane}, will allow that child
  28 + * to fill the containing area (as opposed to using a {@link BoxPane} which
  29 + * will only size itself to the size of its children, which doesn't work
  30 + * well with a <tt>ScrollPane</tt>).
24 31 */
25 32 public class FillPane extends Container {
26 33 private static class FillPaneListenerList extends WTKListenerList<FillPaneListener>

0 comments on commit 154f3af

Please sign in to comment.
Something went wrong with that request. Please try again.