public interface GralSlider_ifc
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.
|
float getSliderPosition()
void setSliderSize(float ratio)
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.