@Override
	public int getMaxLines(int index) {
		if (index < 0 || index >= tableColumns.size()) {

			// hacky: this can happen when we are in the process of rebuilding our column structure,
			//        where the client calling us has an old index value (such as when we are
			//        adding/removing columns).
			return 1; // default
		}

		DynamicTableColumn<ROW_TYPE, ?, ?> column = tableColumns.get(index);
		return column.getMaxLines(columnSettings.get(column));
	}
Gets the maximum number of text display lines needed for any given cell within the specified
column.

@param index column field index
@return maximum number of lines needed for specified column
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GDynamicColumnTableModel.java