]> source.dussan.org Git - vaadin-framework.git/commitdiff
Add missing @since to VScrollTable and Table.
authorSauli Tähkäpää <sauli@vaadin.com>
Wed, 21 Jan 2015 07:21:08 +0000 (09:21 +0200)
committerVaadin Code Review <review@vaadin.com>
Thu, 5 Feb 2015 09:25:38 +0000 (09:25 +0000)
Change-Id: I7f249c880464b38226856a00882a05af80991d48

client/src/com/vaadin/client/ui/VScrollTable.java
server/src/com/vaadin/ui/Table.java

index 927e2c31db96315e76297a5edaccf89c06edf5f2..6b4bb8eb9d25047d9b7ce80e8bcdd046a41b0711 100644 (file)
@@ -3378,6 +3378,12 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
             return align;
         }
 
+        /**
+         * Saves natural column width if it hasn't been saved already.
+         *
+         * @param columnIndex
+         * @since 7.3.9
+         */
         protected void saveNaturalColumnWidthIfNotSaved(int columnIndex) {
             if (naturalWidth < 0) {
                 // This is recently revealed column. Try to detect a proper
@@ -4314,6 +4320,12 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
             return cid;
         }
 
+        /**
+         * Saves natural column width if it hasn't been saved already.
+         *
+         * @param columnIndex
+         * @since 7.3.9
+         */
         protected void saveNaturalColumnWidthIfNotSaved(int columnIndex) {
             if (naturalWidth < 0) {
                 // This is recently revealed column. Try to detect a proper
index e202a4e925d7464aa16bf97090dd1e9ab8b70877..316564c7e3d25414ee82cce93dd89596d23e7af5 100644 (file)
@@ -3861,8 +3861,14 @@ public class Table extends AbstractSelect implements Action.Container,
         }
     }
 
+    /**
+     * Checks whether row headers are visible.
+     *
+     * @return {@code false} if row headers are hidden, {@code true} otherwise
+     * @since 7.3.9
+     */
     protected boolean rowHeadersAreEnabled() {
-        return getRowHeaderMode() != ROW_HEADER_MODE_HIDDEN;
+        return getRowHeaderMode() != RowHeaderMode.HIDDEN;
     }
 
     private void paintRow(PaintTarget target, final Object[][] cells,