org.vishia.gral.ifc

## Interface GralSlider_ifc

- All Known Implementing Classes:
    GralSlider

      public interface GralSlider_ifc

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `float` | `getSliderPosition()` Returns a value between 0.0 and 1.0 which presents the slider position. 0.0 is left or bottom, 1.0 is right or top.
    `void` | `setSliderSize(float ratio)` Sets the slider size as ratio of the slider range.

- - ### Method Detail

    - #### getSliderPosition

          float getSliderPosition()

      Returns a value between 0.0 and 1.0 which presents the slider position. 0.0 is left or bottom, 1.0 is right or top.

    - #### setSliderSize

          void setSliderSize(float ratio)

      Sets the slider size as ratio of the slider range. It may be the ratio between existing range to visible rangefor a slider which presents a visible range of anything.
      Parameters:
        `ratio` - Value from 0.0 to 1.0: 0.0 means a 1-pixel-line slider. 1.0 means a non-move-able slider because it uses the full range for moving.