Interface IRangeValueProvider

All Superinterfaces:
IInitable

public interface IRangeValueProvider extends IInitable
Provides access to controls that can be set to a value within a range.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    context object for IRangeValueProvider.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether the value of a control is read-only.
    double
    Specifies the value that is added to or subtracted from the IRangeValueProvider::Value property when a large change is made, such as when the PAGE DOWN key is pressed.
    double
    Specifies the maximum range value supported by the control.
    double
    Specifies the minimum range value supported by the control.
    double
    Specifies the value that is added to or subtracted from the IRangeValueProvider::Value property when a small change is made, such as when an arrow key is pressed.
    double
    The value of the control.
    void
    SetValue(double value)
    Sets the value of control.

    Methods inherited from interface at.bestsolution.uia.IInitable

    initialize
  • Method Details

    • get_IsReadOnly

      boolean get_IsReadOnly()
      Indicates whether the value of a control is read-only.
      Returns:
      true if readonly
    • get_LargeChange

      double get_LargeChange()
      Specifies the value that is added to or subtracted from the IRangeValueProvider::Value property when a large change is made, such as when the PAGE DOWN key is pressed.

      The LargeChange property can support Not a Number (NaN) value. When returning a NaN value, the provider should return a quiet (non-signaling) NaN to avoid raising an exception if floating-point exceptions are turned on. The following example shows how to create a quiet NaN:

      Returns:
      the large change
    • get_Maximum

      double get_Maximum()
      Specifies the maximum range value supported by the control.

      This value should be greater than Minimum.

      Returns:
      the maximum
    • get_Minimum

      double get_Minimum()
      Specifies the minimum range value supported by the control.

      This value should be less than Maximum.

      Returns:
      the minimum
    • get_SmallChange

      double get_SmallChange()
      Specifies the value that is added to or subtracted from the IRangeValueProvider::Value property when a small change is made, such as when an arrow key is pressed.

      The SmallChange property can support Not a Number (NaN) value. When returning a NaN value, the provider should return a quiet (non-signaling) NaN to avoid raising an exception if floating-point exceptions are turned on. The following example shows how to create a quiet NaN:

      Returns:
      the small change
    • get_Value

      double get_Value()
      The value of the control.
      Returns:
      the value
    • SetValue

      void SetValue(double value)
      Sets the value of control.

      The actual value set depends on the control implementation. The control may round the requested value up or down.

      Parameters:
      value - the value