JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.graph.ui.widgets.RangedGroup.SliderParam Class Reference

RangeSlider configuration parameter for RangedGroup. More...

Collaboration diagram for com.jogamp.graph.ui.widgets.RangedGroup.SliderParam:

Public Member Functions

 SliderParam (final Vec2f size, final float unitSize, final boolean inverted)
 

Public Attributes

final Vec2f size
 spatial dimension of the slider box. More...
 
final float unitSize
 size of one unit (element) in sliding direction More...
 
final boolean inverted
 Toggle whether the slider uses an inverted value range, e.g. More...
 

Detailed Description

RangeSlider configuration parameter for RangedGroup.

Definition at line 60 of file RangedGroup.java.

Constructor & Destructor Documentation

◆ SliderParam()

com.jogamp.graph.ui.widgets.RangedGroup.SliderParam.SliderParam ( final Vec2f  size,
final float  unitSize,
final boolean  inverted 
)
Parameters
sizespatial dimension of this slider box. A horizontal slider has width >= height.
unitSizesize of one unit (element) in sliding direction
invertedtoggle to invert value range, see inverted

Definition at line 78 of file RangedGroup.java.

Member Data Documentation

◆ inverted

final boolean com.jogamp.graph.ui.widgets.RangedGroup.SliderParam.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.

Definition at line 70 of file RangedGroup.java.

◆ size

final Vec2f com.jogamp.graph.ui.widgets.RangedGroup.SliderParam.size

spatial dimension of the slider box.

A horizontal slider has width >= height.

Definition at line 62 of file RangedGroup.java.

◆ unitSize

final float com.jogamp.graph.ui.widgets.RangedGroup.SliderParam.unitSize

size of one unit (element) in sliding direction

Definition at line 64 of file RangedGroup.java.


The documentation for this class was generated from the following file: