diff options
author | Sauli Tähkäpää <sauli@vaadin.com> | 2015-01-21 09:21:08 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-02-05 09:25:38 +0000 |
commit | ac658de97f04dd16c1b06e00505a93b54e632e0b (patch) | |
tree | 3bc2542e167178904ec80c321618c1237a854779 | |
parent | cb2f385cd0082e6571c0cba1e6fe2969f855daab (diff) | |
download | vaadin-framework-ac658de97f04dd16c1b06e00505a93b54e632e0b.tar.gz vaadin-framework-ac658de97f04dd16c1b06e00505a93b54e632e0b.zip |
Add missing @since to VScrollTable and Table.
Change-Id: I7f249c880464b38226856a00882a05af80991d48
-rw-r--r-- | client/src/com/vaadin/client/ui/VScrollTable.java | 12 | ||||
-rw-r--r-- | server/src/com/vaadin/ui/Table.java | 8 |
2 files changed, 19 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VScrollTable.java b/client/src/com/vaadin/client/ui/VScrollTable.java index 927e2c31db..6b4bb8eb9d 100644 --- a/client/src/com/vaadin/client/ui/VScrollTable.java +++ b/client/src/com/vaadin/client/ui/VScrollTable.java @@ -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 diff --git a/server/src/com/vaadin/ui/Table.java b/server/src/com/vaadin/ui/Table.java index e202a4e925..316564c7e3 100644 --- a/server/src/com/vaadin/ui/Table.java +++ b/server/src/com/vaadin/ui/Table.java @@ -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, |