Package com.jogamp.graph.ui.widgets
Class RangedGroup.SliderParam
- java.lang.Object
-
- com.jogamp.graph.ui.widgets.RangedGroup.SliderParam
-
- Enclosing class:
- RangedGroup
public static final class RangedGroup.SliderParam extends Object
RangeSlider
configuration parameter forRangedGroup
.
-
-
Constructor Summary
Constructors Constructor Description SliderParam(com.jogamp.math.Vec2f size, float unitSize, boolean inverted)
-
-
-
Field Detail
-
size
public final com.jogamp.math.Vec2f size
spatial dimension of the slider box. A horizontal slider has width >= height.
-
unitSize
public final float unitSize
size of one unit (element) in sliding direction
-
inverted
public final boolean inverted
Toggle whether the slider uses an inverted value range, e.g. top 0% and bottom 100% for an vertical inverted slider instead of bottom 0% and top 100% for a vertical non-inverted slider.
-
-
Constructor Detail
-
SliderParam
public SliderParam(com.jogamp.math.Vec2f size, float unitSize, boolean inverted)
- Parameters:
size
- spatial dimension of this slider box. A horizontal slider has width >= height.unitSize
- size of one unit (element) in sliding directioninverted
- toggle to invert value range, seeinverted
-
-