Home » openjdk-7 » javax » accessibility » [javadoc | source]
javax.accessibility
public interface: AccessibleValue [javadoc | source]

All Known Implementing Classes:
    AccessibleAWTMenuItem, AccessibleAWTScrollBar, AccessibleAWTCheckbox, AccessibleJSpinner, AccessibleJSplitPane, AccessibleJProgressBar, AccessibleAWTCheckboxMenuItem, AccessibleAbstractButton, AccessibleJInternalFrame, AccessibleJDesktopIcon, AccessibleJSlider, AccessibleJScrollBar, AccessibleAWTButton

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 Accessible ) and then calling the AccessibleContext#getAccessibleValue method. If the return value is not null, the object supports this interface.
Method from javax.accessibility.AccessibleValue Summary:
getCurrentAccessibleValue,   getMaximumAccessibleValue,   getMinimumAccessibleValue,   setCurrentAccessibleValue
Method from javax.accessibility.AccessibleValue Detail:
 public 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 Number getMaximumAccessibleValue()
    Get the maximum value of this object as a Number.
 public Number getMinimumAccessibleValue()
    Get the minimum value of this object as a Number.
 public boolean setCurrentAccessibleValue(Number n)
    Set the value of this object as a Number.