private boolean[] visibleRows;
private boolean[] visibleColumns;
public Metadata() {
GridPane gridPane = (GridPane)getComponent();
GridPane.RowSequence rows = gridPane.getRows();
int columnCount = gridPane.getColumnCount();
int rowCount = rows.getLength();
visibleRows = new boolean[rowCount];
visibleColumns = new boolean[columnCount];