Trait uiautomation::actions::RangeValue
source · pub trait RangeValue {
// Required methods
fn set_value(&self, value: f64) -> Result<()>;
fn get_value(&self) -> Result<f64>;
fn is_readonly(&self) -> Result<bool>;
fn get_maximum(&self) -> Result<f64>;
fn get_minimum(&self) -> Result<f64>;
fn get_large_change(&self) -> Result<f64>;
fn get_small_change(&self) -> Result<f64>;
}
Expand description
Define a RangeValue action for uielement.
Required Methods§
sourcefn is_readonly(&self) -> Result<bool>
fn is_readonly(&self) -> Result<bool>
Indicates whether the value of the element can be changed.
sourcefn get_maximum(&self) -> Result<f64>
fn get_maximum(&self) -> Result<f64>
Retrieves the maximum value of the control.
sourcefn get_minimum(&self) -> Result<f64>
fn get_minimum(&self) -> Result<f64>
Retrieves the minimum value of the control.
sourcefn get_large_change(&self) -> Result<f64>
fn get_large_change(&self) -> Result<f64>
Retrieves the value that is added to or subtracted from the value of the control when a large change is made, such as when the PAGE DOWN key is pressed.
sourcefn get_small_change(&self) -> Result<f64>
fn get_small_change(&self) -> Result<f64>
Retrieves the value that is added to or subtracted from the value of the control when a small change is made, such as when an arrow key is pressed.