From 1f56b41076648b9242b716f2e458c3be6ff60f1e Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Sat, 18 Nov 2023 20:57:10 +0200 Subject: WScrollPanel: Add missing since tags --- src/main/java/io/github/cottonmc/cotton/gui/widget/WScrollPanel.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java') diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WScrollPanel.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WScrollPanel.java index d0582af..389df93 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WScrollPanel.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WScrollPanel.java @@ -56,6 +56,7 @@ public class WScrollPanel extends WClippedPanel { * Returns this scroll panel's horizontal scroll bar. * * @return the horizontal scroll bar + * @since 9.1.0 */ public WScrollBar getHorizontalScrollBar() { return this.horizontalScrollBar; @@ -67,6 +68,7 @@ public class WScrollPanel extends WClippedPanel { * @param horizontalScrollBar the new horizontal scroll bar * @return this scroll panel * @throws NullPointerException if the horizontalScrollBar is null + * @since 9.1.0 */ public WScrollPanel setHorizontalScrollBar(WScrollBar horizontalScrollBar) { this.horizontalScrollBar = Objects.requireNonNull(horizontalScrollBar, "horizontalScrollBar"); @@ -97,6 +99,7 @@ public class WScrollPanel extends WClippedPanel { * Returns this scroll panel's vertical scroll bar. * * @return the vertical scroll bar + * @since 9.1.0 */ public WScrollBar getVerticalScrollBar() { return this.verticalScrollBar; @@ -108,6 +111,7 @@ public class WScrollPanel extends WClippedPanel { * @param verticalScrollBar the new vertical scroll bar * @return this scroll panel * @throws NullPointerException if the verticalScrollBar is null + * @since 9.1.0 */ public WScrollPanel setVerticalScrollBar(WScrollBar verticalScrollBar) { this.verticalScrollBar = Objects.requireNonNull(verticalScrollBar, "verticalScrollBar"); -- cgit