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:
JDE 4.7.0

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

public int getCurrentAccessibleValue()
Get the value of this object as a Number. If the value has not been set, the return value will be null.
Returns:
current value set
Since:
JDE 4.7.0

getMaxAccessibleValue

public int getMaxAccessibleValue()
Get the maximum value of this object as a Number.
Returns:
max value available
Since:
JDE 4.7.0

getMinAccessibleValue

public int getMinAccessibleValue()
Get the minimum value of this object as a Number.
Returns:
min value available
Since:
JDE 4.7.0



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.