001package org.vishia.gral.ifc; 002 003public interface GralSlider_ifc { 004 005 006 /**Returns a value between 0.0 and 1.0 which presents the slider position. 007 * 0.0 is left or bottom, 1.0 is right or top. 008 */ 009 float getSliderPosition(); 010 011 /**Sets the slider size as ratio of the slider range. 012 * It may be the ratio between existing range to visible rangefor a slider which presents a visible range of anything. 013 * @param 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 014 * it uses the full range for moving. 015 */ 016 void setSliderSize(float ratio); 017}