Revision: 7161
Author: [email protected]
Date: Tue Nov 24 14:41:20 2009
Log: Merging trunk r7160 into this branch.

http://code.google.com/p/google-web-toolkit/source/detail?r=7161

Modified:
  /releases/2.0/branch-info.txt
  /releases/2.0/user/src/com/google/gwt/user/client/ui/DockLayoutPanel.java
  /releases/2.0/user/src/com/google/gwt/user/client/ui/LayoutPanel.java
  /releases/2.0/user/src/com/google/gwt/user/client/ui/RootLayoutPanel.java
  /releases/2.0/user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java
  /releases/2.0/user/src/com/google/gwt/user/client/ui/StackLayoutPanel.java
  /releases/2.0/user/src/com/google/gwt/user/client/ui/TabLayoutPanel.java

=======================================
--- /releases/2.0/branch-info.txt       Tue Nov 24 14:21:51 2009
+++ /releases/2.0/branch-info.txt       Tue Nov 24 14:41:20 2009
@@ -1033,3 +1033,8 @@
    A number of tweaks to the mail sample.
    Fix for the non-standard style names in SplitLayoutPanel.
      svn merge --ignore-ancestry -c7158  
https://google-web-toolkit.googlecode.com/svn/trunk/ .
+
+tr...@7160 was merged into this branch
+  Cleans up javadoc in layout panels (TODOs will be captured as issues).
+  Fix for non-standard gwt-Tab style name.
+    svn merge --ignore-ancestry -c7160  
https://google-web-toolkit.googlecode.com/svn/trunk/ .
=======================================
---  
/releases/2.0/user/src/com/google/gwt/user/client/ui/DockLayoutPanel.java       
 
Wed Nov  4 07:24:16 2009
+++  
/releases/2.0/user/src/com/google/gwt/user/client/ui/DockLayoutPanel.java       
 
Tue Nov 24 14:41:20 2009
@@ -31,17 +31,10 @@
   * declaration.
   * </p>
   *
- * <p>
- * NOTE: This class is still very new, and its interface may change without
- * warning. Use at your own risk.
- * </p>
- *
   * <p>
   * <h3>Example</h3>
   * {...@example com.google.gwt.examples.DockLayoutPanelExample}
   * </p>
- *
- * TODO(jgw): RTL support.
   */
  public class DockLayoutPanel extends ComplexPanel implements  
AnimatedLayout,
      RequiresResize, ProvidesResize {
=======================================
--- /releases/2.0/user/src/com/google/gwt/user/client/ui/LayoutPanel.java       
 
Wed Nov  4 07:24:16 2009
+++ /releases/2.0/user/src/com/google/gwt/user/client/ui/LayoutPanel.java       
 
Tue Nov 24 14:41:20 2009
@@ -34,11 +34,6 @@
   * declaration.
   * </p>
   *
- * <p>
- * NOTE: This class is still very new, and its interface may change without
- * warning. Use at your own risk.
- * </p>
- *
   * <p>
   * <h3>Example</h3>
   * {...@example com.google.gwt.examples.LayoutPanelExample}
=======================================
---  
/releases/2.0/user/src/com/google/gwt/user/client/ui/RootLayoutPanel.java       
 
Wed Nov  4 07:16:01 2009
+++  
/releases/2.0/user/src/com/google/gwt/user/client/ui/RootLayoutPanel.java       
 
Tue Nov 24 14:41:20 2009
@@ -34,11 +34,6 @@
   * declaration.
   * </p>
   *
- * <p>
- * NOTE: This class is still very new, and its interface may change without
- * warning. Use at your own risk.
- * </p>
- *
   * <p>
   * <h3>Example</h3>
   * {...@example com.google.gwt.examples.LayoutPanelExample}
=======================================
---  
/releases/2.0/user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java      
 
Tue Nov 24 14:21:51 2009
+++  
/releases/2.0/user/src/com/google/gwt/user/client/ui/SplitLayoutPanel.java      
 
Tue Nov 24 14:41:20 2009
@@ -32,25 +32,24 @@
   * </p>
   *
   * <p>
- * This widget will <em>only</em> work in standards mode, which requires
- * that the HTML page in which it is run have an explicit &lt;!DOCTYPE&gt;
+ * This widget will <em>only</em> work in standards mode, which requires  
that
+ * the HTML page in which it is run have an explicit &lt;!DOCTYPE&gt;
   * declaration.
   * </p>
   *
- * <p>
- * NOTE: This class is still very new, and its interface may change without
- * warning. Use at your own risk.
- * </p>
+ * <h3>CSS Style Rules</h3>
+ * <ul class='css'>
+ * <li>.gwt-SplitLayoutPanel { the panel itself }</li>
+ * <li>.gwt-SplitLayoutPanel .gwt-SplitLayoutPanel-HDragger { horizontal  
dragger
+ * }</li>
+ * <li>.gwt-SplitLayoutPanel .gwt-SplitLayoutPanel-VDragger { vertical  
dragger }
+ * </li>
+ * </ul>
   *
   * <p>
   * <h3>Example</h3>
   * {...@example com.google.gwt.examples.SplitLayoutPanelExample}
   * </p>
- *
- * TODO(jgw):
- * - RTL Support.
- * - implement insert().
- * - Come up with a decent way to specify splitter style and size.
   */
  public class SplitLayoutPanel extends DockLayoutPanel {

@@ -213,6 +212,7 @@

    public SplitLayoutPanel() {
      super(Unit.PX);
+    setStyleName("gwt-SplitLayoutPanel");
    }

    @Override
=======================================
---  
/releases/2.0/user/src/com/google/gwt/user/client/ui/StackLayoutPanel.java      
 
Wed Nov  4 07:24:16 2009
+++  
/releases/2.0/user/src/com/google/gwt/user/client/ui/StackLayoutPanel.java      
 
Tue Nov 24 14:41:20 2009
@@ -34,22 +34,10 @@
   * declaration.
   * </p>
   *
- * <p>
- * NOTE: This class is still very new, and its interface may change without
- * warning. Use at your own risk.
- * </p>
- *
   * <p>
   * <h3>Example</h3>
   * {...@example com.google.gwt.examples.StackLayoutPanelExample}
   * </p>
- *
- * TODO(jgw):
- * - implement insert().
- * - add() methods with default widgets for headers.
- * - some way to get the header widget associated with a child.
- * - make animation configurable (with {...@link HasAnimation}).
- * - default style.
   */
  public class StackLayoutPanel extends Composite implements HasWidgets,
      RequiresResize, ProvidesResize {
=======================================
---  
/releases/2.0/user/src/com/google/gwt/user/client/ui/TabLayoutPanel.java        
 
Fri Nov 20 13:11:54 2009
+++  
/releases/2.0/user/src/com/google/gwt/user/client/ui/TabLayoutPanel.java        
 
Tue Nov 24 14:41:20 2009
@@ -39,24 +39,24 @@
   * associated with them. The tabs can contain arbitrary text, HTML, or  
widgets.
   *
   * <p>
- * This widget will <em>only</em> work in standards mode, which requires
- * that the HTML page in which it is run have an explicit &lt;!DOCTYPE&gt;
+ * This widget will <em>only</em> work in standards mode, which requires  
that
+ * the HTML page in which it is run have an explicit &lt;!DOCTYPE&gt;
   * declaration.
   * </p>
   *
- * <p>
- * NOTE: This class is still very new, and its interface may change without
- * warning. Use at your own risk.
- * </p>
+ * <h3>CSS Style Rules</h3>
+ * <ul class='css'>
+ * <li>.gwt-TabLayoutPanel { the panel itself }</li>
+ * <li>.gwt-TabLayoutPanel .gwt-TabLayoutPanelTabs { the tab bar element  
}</li>
+ * <li>.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab { an individual tab  
}</li>
+ * <li>.gwt-TabLayoutPanel .gwt-TabLayoutPanelTabInner { an element nested  
in
+ * each tab (useful for styling) }</li>
+ * </ul>
   *
   * <p>
   * <h3>Example</h3>
   * {...@example com.google.gwt.examples.TabLayoutPanelExample}
   * </p>
- *
- * TODO:
- * - Aria, RTL, DebugId
- * - Update style mechanism (gwt-Tab, etc. not really sufficient).
   */
  public class TabLayoutPanel extends ResizeComposite implements HasWidgets,
      ProvidesResize, IndexedPanel, HasBeforeSelectionHandlers<Integer>,
@@ -72,8 +72,8 @@
        getElement().appendChild(anchor =  
Document.get().createAnchorElement());

        setWidget(child);
-      setStyleName("gwt-Tab");
-      anchor.setClassName("gwt-TabInner");
+      setStyleName("gwt-TabLayoutPanelTab");
+      anchor.setClassName("gwt-TabLayoutPanelTabInner");

        // TODO: float:left may not be enough. If there are tabs of  
differeing
        // heights, the shorter ones will top-align, rather than  
bottom-align,

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to