private void insertLogicalRow(int index) { int baseRow = logicalToLayoutRow(index); // insert the gap for all rows but the first if(index != 0 && gapRow != null) { insertRow(baseRow, gapRow); baseRow += 1; } // insert the element rows for(int r = 0; r < rowSpecs.length; r++) { insertRow(baseRow + r, rowSpecs[r]); } } private void insertLogicalColumn(int index) {
private void insertLogicalRow(int index) { int baseRow = logicalToLayoutRow(index); // insert the gap for all rows but the first if(index != 0 && gapRow != null) { insertRow(baseRow, gapRow); baseRow += 1; } // insert the element rows for(int r = 0; r < rowSpecs.length; r++) { insertRow(baseRow + r, rowSpecs[r]); } } private void insertLogicalColumn(int index) {
private void insertLogicalRow(int index) { int baseRow = logicalToLayoutRow(index); // insert the gap for all rows but the first if(index != 0 && gapRow != null) { insertRow(baseRow, gapRow); baseRow += 1; } // insert the element rows for(int r = 0; r < rowSpecs.length; r++) { insertRow(baseRow + r, rowSpecs[r]); } } private void insertLogicalColumn(int index) {