From 4f4042d69616c1881c1bbdca12720b57e6121d0d Mon Sep 17 00:00:00 2001 From: Kevin Lamonte Date: Sun, 28 Jul 2019 20:59:11 -0500 Subject: [PATCH] fix javadoc --- src/jexer/TTableWidget.java | 37 ---------------------------- src/jexer/demos/DemoTableWindow.java | 1 - 2 files changed, 38 deletions(-) diff --git a/src/jexer/TTableWidget.java b/src/jexer/TTableWidget.java index c8eeb57..3052ae9 100644 --- a/src/jexer/TTableWidget.java +++ b/src/jexer/TTableWidget.java @@ -943,43 +943,6 @@ public class TTableWidget extends TWidget { return rows.size(); } - /** - * Get the full horizontal width of this table. - * - * @return the width required to render the entire table - */ - private int getMaximumWidth() { - int totalWidth = 0; - if (showRowLabels == true) { - // For now, all row labels are 8 cells wide. TODO: make this - // adjustable. - totalWidth += ROW_LABEL_WIDTH; - } - for (Cell cell: getSelectedRow().cells) { - totalWidth += cell.getWidth() + 1; - } - return totalWidth; - } - - /** - * Get the full vertical height of this table. - * - * @return the height required to render the entire table - */ - private int getMaximumHeight() { - int totalHeight = 0; - if (showColumnLabels == true) { - // For now, all column labels are 1 cell tall. TODO: make this - // adjustable. - totalHeight += 1; - } - for (Cell cell: getSelectedColumn().cells) { - totalHeight += cell.getHeight(); - // TODO: handle top/bottom borders. - } - return totalHeight; - } - /** * Align the grid so that the selected cell is fully visible. * diff --git a/src/jexer/demos/DemoTableWindow.java b/src/jexer/demos/DemoTableWindow.java index d425c66..85da32a 100644 --- a/src/jexer/demos/DemoTableWindow.java +++ b/src/jexer/demos/DemoTableWindow.java @@ -66,7 +66,6 @@ public class DemoTableWindow extends TWindow { * * @param parent the main application * @param title the text string - * @param text the text string */ public DemoTableWindow(final TApplication parent, final String title) { -- 2.27.0