From 9b8d1825cfb76454e42b196a93dc54d189a8a9a6 Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Sun, 14 Jan 2024 18:48:15 +0100 Subject: GraphUI RangeSlider: Fix API doc for implementation detail --- src/graphui/classes/com/jogamp/graph/ui/widgets/RangeSlider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/graphui/classes/com') diff --git a/src/graphui/classes/com/jogamp/graph/ui/widgets/RangeSlider.java b/src/graphui/classes/com/jogamp/graph/ui/widgets/RangeSlider.java index abf475dbe..e72551952 100644 --- a/src/graphui/classes/com/jogamp/graph/ui/widgets/RangeSlider.java +++ b/src/graphui/classes/com/jogamp/graph/ui/widgets/RangeSlider.java @@ -453,7 +453,7 @@ public final class RangeSlider extends Widget { } /** - * Returns generic item position reflects value on its center and ranges from zero to max. + * Returns generic item position reflects value on its center (round-knob) or page-size start and ranges from zero to max. * @param posRes {@link Vec2f} result storage * @param value value within {@link #getMinMax()} * @param itemLen item length in sliding direction @@ -463,7 +463,7 @@ public final class RangeSlider extends Widget { return getItemPctPos(posRes, ( value - minMax.x() ) / getRange(), itemLen, itemHeight); } /** - * Returns generic item position reflects value on its center and ranges from zero to max. + * Returns generic item position reflects value on its center (round-knob) or page-size start and ranges from zero to max. * @param posRes {@link Vec2f} result storage * @param val_pct value percentage within [0..1] * @param itemLen item length in sliding direction -- cgit v1.2.3