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§

source

fn set_value(&self, value: f64) -> Result<()>

Sets the value of the control.

source

fn get_value(&self) -> Result<f64>

Retrieves the value of the control.

source

fn is_readonly(&self) -> Result<bool>

Indicates whether the value of the element can be changed.

source

fn get_maximum(&self) -> Result<f64>

Retrieves the maximum value of the control.

source

fn get_minimum(&self) -> Result<f64>

Retrieves the minimum value of the control.

source

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.

source

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.

Implementors§