The AccessibleIcon interface should be supported by any object
that has an associated icon (e.g., buttons). This interface
provides the standard mechanism for an assistive technology
to get descriptive information about icons.
Applications can determine
if an object supports the AccessibleIcon interface by first
obtaining its AccessibleContext (see
Accessible) and then calling the
AccessibleContext.getAccessibleIcon() method.
If the return value is not null, the object supports this interface.
Gets the description of the icon. This is meant to be a brief
textual description of the object. For example, it might be
presented to a blind user to give an indication of the purpose
of the icon.
Returns:
the description of the icon
setAccessibleIconDescription
public void setAccessibleIconDescription(String description)
Sets the description of the icon. This is meant to be a brief
textual description of the object. For example, it might be
presented to a blind user to give an indication of the purpose
of the icon.
Submit a bug or feature For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, California, 94303, U.S.A. All Rights Reserved.