/** * The minimum slider value. The slider value is equal to minValue when the thumb is at the bottom or left of the slider * (unless flipValues is true, in which case the minimum value is at the top/right of the slider) * * * @return float * @see com.smartgwt.client.widgets.Slider#getFlipValues * @see <a href="http://www.smartclient.com/smartgwt/showcase/#controls_category_slider" target="examples">Slider Example</a> */ public float getMinValue() { return getAttributeAsFloat("minValue"); }
/** * The maximum slider value. The slider value is equal to maxValue when the thumb is at the top or right of the slider * (unless flipValues is true, in which case the maximum value is at the bottom/left of the slider) * * * @return float * @see com.smartgwt.client.widgets.Slider#getFlipValues * @see <a href="http://www.smartclient.com/smartgwt/showcase/#controls_category_slider" target="examples">Slider Example</a> */ public float getMaxValue() { return getAttributeAsFloat("maxValue"); }
/** * The percentage of the total slider that constitutes one discrete step. The slider will move one step when the * appropriate arrow key is pressed. * * * @return float */ public float getStepPercent() { return getAttributeAsFloat("stepPercent"); }
/** * The slider value. This value should lie between the minValue and maxValue and increases as the thumb is moved up (for a * vertical slider) or right (for a horizontal slider) unless flipValues is set to true. * * * @return Returns the current slider value. * @see com.smartgwt.client.widgets.Slider#getMinValue * @see com.smartgwt.client.widgets.Slider#getMaxValue * @see com.smartgwt.client.widgets.Slider#getFlipValues * @see com.smartgwt.client.widgets.Slider#getShowValue */ public float getValue() { return getAttributeAsFloat("value"); }