Class RangedGroup.SliderParam

    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean inverted
      Toggle whether the slider uses an inverted value range, e.g.
      com.jogamp.math.Vec2f size
      spatial dimension of the slider box.
      float unitSize
      size of one unit (element) in sliding direction
    • 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 direction
        inverted - toggle to invert value range, see inverted