AccessibleValuepublic interface AccessibleValue The AccessibleValue interface should be supported by any object
that supports a numerical value (e.g., a scroll bar). This interface
provides the standard mechanism for an assistive technology to determine
and set the numerical value as well as get the minimum and maximum values.
Applications can determine
if an object supports the AccessibleValue interface by first
obtaining its AccessibleContext (see
{@link Accessible}) and then calling the
{@link AccessibleContext#getAccessibleValue} method.
If the return value is not null, the object supports this interface. |
Methods Summary |
---|
public java.lang.Number | getCurrentAccessibleValue()Get the value of this object as a Number. If the value has not been
set, the return value will be null.
| public java.lang.Number | getMaximumAccessibleValue()Get the maximum value of this object as a Number.
| public java.lang.Number | getMinimumAccessibleValue()Get the minimum value of this object as a Number.
| public boolean | setCurrentAccessibleValue(java.lang.Number n)Set the value of this object as a Number.
|
|