Change-Id: I7f249c880464b38226856a00882a05af80991d48
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
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
}
}
+ /**
+ * 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,