From 06fc796900585f16a4962fb76c13e25a7cf937eb Mon Sep 17 00:00:00 2001 From: Kevin Lamonte Date: Sun, 15 Mar 2015 11:06:44 -0400 Subject: [PATCH] fix javadoc --- src/jexer/TVScroller.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jexer/TVScroller.java b/src/jexer/TVScroller.java index 459ef4f..d9d5ec8 100644 --- a/src/jexer/TVScroller.java +++ b/src/jexer/TVScroller.java @@ -152,7 +152,7 @@ public final class TVScroller extends TWidget { * @param parent parent widget * @param x column relative to parent * @param y row relative to parent - * @param width height of scroll bar + * @param height height of scroll bar */ public TVScroller(final TWidget parent, final int x, final int y, final int height) { @@ -169,7 +169,7 @@ public final class TVScroller extends TWidget { /** * Compute the position of the scroll box (a.k.a. grip, thumb). * - * @param Y position of the box, between 1 and height - 2 + * @return Y position of the box, between 1 and height - 2 */ private int boxPosition() { return (getHeight() - 3) * (value - topValue) / (bottomValue - topValue) + 1; -- 2.27.0