From: Kevin Lamonte Date: Mon, 29 Jul 2019 01:59:11 +0000 (-0500) Subject: fix javadoc X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=4f4042d69616c1881c1bbdca12720b57e6121d0d;p=fanfix-jexer.git fix javadoc --- 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) {