javax.accessibility
Interface AccessibleIcon
java.lang.Object
|
+--javax.accessibility.AccessibleIcon
public interface AccessibleIcon
Objects which have an associated icon, such as buttons, should implement
this interface. Accessibility software can use the implementations of this
interface to aid the user in navigating the links.
The AccessibleContext.getAccessibleIcon()
method should
return null
if an object does not implement this interface.
Since:Author:- Eric Blake <ebb9@email.byu.edu>
See Also:
getAccessibleIconDescription
public String getAccessibleIconDescription()
Returns a textual description of the icon and its purpose.
Returns:
- the description, or null if there is none
getAccessibleIconHeight
public int getAccessibleIconHeight()
Get the icon height.
Returns:
getAccessibleIconWidth
public int getAccessibleIconWidth()
Get the icon width.
Returns:
setAccessibleIconDescription
public void setAccessibleIconDescription(java.lang.String s)
Modify the textual description of the icon and its purpose.
Parameters:
The
AccessibleContext.getAccessibleIcon()
method should returnnull
if an object does not implement this interface.