- 
- All Known Implementing Classes:
- ImageIcon.AccessibleImageIcon
 
 
 public interface AccessibleIconTheAccessibleIconinterface 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 theAccessibleIconinterface by first obtaining itsAccessibleContext(seeAccessible) and then calling theAccessibleContext.getAccessibleIcon()method. If the return value is notnull, the object supports this interface.- Since:
- 1.3
- See Also:
- Accessible,- AccessibleContext
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAccessibleIconDescription()Gets the description of the icon.intgetAccessibleIconHeight()Gets the height of the icon.intgetAccessibleIconWidth()Gets the width of the icon.voidsetAccessibleIconDescription(String description)Sets the description of the icon.
 
- 
- 
- 
Method Detail- 
getAccessibleIconDescriptionString getAccessibleIconDescription() 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
 
 - 
setAccessibleIconDescriptionvoid 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.- Parameters:
- description- the description of the icon
 
 - 
getAccessibleIconWidthint getAccessibleIconWidth() Gets the width of the icon.- Returns:
- the width of the icon
 
 - 
getAccessibleIconHeightint getAccessibleIconHeight() Gets the height of the icon.- Returns:
- the height of the icon
 
 
- 
 
-