}
/**
+ *
+ * @return true if there are columns marked
+ */
+ public boolean hasSelectedColumns()
+ {
+ return (selected != null && selected.size() > 0);
+ }
+
+ /**
+ *
+ * @return true if there are columns hidden
+ */
+ public boolean hasHiddenColumns()
+ {
+ return hiddenColumns != null && hiddenColumns.size() > 0;
+ }
+
+ /**
* mark the columns corresponding to gap characters as hidden in the column
* selection
*
public void updateHiddenColumns()
{
- hasHiddenColumns = colSel.getHiddenColumns() != null;
+ hasHiddenColumns = colSel.hasHiddenColumns();
}
protected boolean hasHiddenRows = false;