net.rim.device.api.ui.accessibility
Interface AccessibleValue


public interface AccessibleValue

The AccessibleValue interface should be supported by any object that supports a numerical value (e.g., a Gauge Field). This interface provides the standard mechanism for an assistive technology to determine the numerical value as well as get the minimum and maximum values. Applications can determine if an object supports the AccessibleValue interface by calling the AccessibleContext.getAccessibleValue() method. If the return value is not null, the object supports this interface.

Since:
BlackBerry API 4.6.1

Method Summary
 int getCurrentAccessibleValue()
          Get the value of this object as a Number.
 int getMaxAccessibleValue()
          Get the maximum value of this object as a Number.
 int getMinAccessibleValue()
          Get the minimum value of this object as a Number.
 



Method Detail

getCurrentAccessibleValue

int getCurrentAccessibleValue()
Get the value of this object as a Number. If the value has not been set, the return value will be 0.

Returns:
current value set
Since:
BlackBerry API 4.6.1

getMinAccessibleValue

int getMinAccessibleValue()
Get the minimum value of this object as a Number.

Returns:
min value available
Since:
BlackBerry API 4.6.1

getMaxAccessibleValue

int getMaxAccessibleValue()
Get the maximum value of this object as a Number.

Returns:
max value available
Since:
BlackBerry API 4.6.1





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal