javax.accessibility
Interface AccessibleValue
java.lang.Object
|
+--javax.accessibility.AccessibleValue
public interface AccessibleValue
If an object implements this interface then it must be able to control
a numerical value. For example, a scroll bar has a position represented
by a number. Accessibility software can use the implementations of this
interface to change the associated value.
The AccessibleContext.getAccessibleValue()
method should
return null
if an object does not implement this interface.
Since:Author:- Eric Blake <ebb9@email.byu.edu>
See Also:
getCurrentAccessibleValue
public Number getCurrentAccessibleValue()
Gets the current value of this object, or null if it has not been set.
Returns:
- the current value, or null
See Also:
getMaximumAccessibleValue
public Number getMaximumAccessibleValue()
Gets the maximum value in the range of this object, or null if there is
no maximum.
Returns:
See Also:
getMinimumAccessibleValue
public Number getMinimumAccessibleValue()
Gets the minimum value in the range of this object, or null if there is
no minimum.
Returns:
See Also:
setCurrentAccessibleValue
public boolean setCurrentAccessibleValue(java.lang.Number number)
Sets the current value of this object. Returns true if the number
successfully changed.
Parameters:
Returns:
The
AccessibleContext.getAccessibleValue()
method should returnnull
if an object does not implement this interface.