Browse Source

Add missing @since to VScrollTable and Table.

Change-Id: I7f249c880464b38226856a00882a05af80991d48
tags/7.5.0.alpha1
Sauli Tähkäpää 9 years ago
parent
commit
ac658de97f

+ 12
- 0
client/src/com/vaadin/client/ui/VScrollTable.java View 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

+ 7
- 1
server/src/com/vaadin/ui/Table.java View 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,

Loading…
Cancel
Save