other-licenses/ia2/AccessibleValue.idl
Not scriptableIUnknown
Last changed in Gecko 1.9 (Firefox 3)The IAccessibleValue
interface represents a single numerical value and should be implemented by any class that supports numerical value like progress bars and spin boxes. This interface lets you access the value and its upper and lower bounds.
[propget] HRESULT currentValue([out] VARIANT currentValue ); |
[propget] HRESULT maximumValue([out] VARIANT maximumValue ); |
[propget] HRESULT minimumValue([out] VARIANT minimumValue ); |
HRESULT setCurrentValue([in] VARIANT value ); |
Returns the value of this object as a number. The exact return type is implementation dependent. Typical types are long and double.
[propget] HRESULT currentValue( [out] VARIANT currentValue );
currentValue
S_FALSE if there is nothing to return, [out] value is null
. S_OK.
Returns the maximal value that can be represented by this object. The type of the returned value is implementation dependent. It does not have to be the same type as that returned by method currentValue()
.
[propget] HRESULT maximumValue( [out] VARIANT maximumValue );
maximumValue
S_OK.
Returns the minimal value that can be represented by this object. The type of the returned value is implementation dependent. It does not have to be the same type as that returned by method currentValue()
.
[propget] HRESULT minimumValue( [out] VARIANT minimumValue );
minimumValue
S_OK.
Sets the value of this object to the given number. The argument is clipped to the valid interval whose upper and lower bounds are returned by the methods maximumValue()
and minimumValue()
, that is if it is lower than the minimum value the new value will be the minimum and if it is greater than the maximum then the new value will be the maximum.
HRESULT setCurrentValue( [in] VARIANT value );
value
S_OK.