Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
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:See Also:

Method Summary

java.lang.StringgetAccessibleIconDescription()

Returns a textual description of the icon and its purpose.
intgetAccessibleIconHeight()

Get the icon height.
intgetAccessibleIconWidth()

Get the icon width.
voidsetAccessibleIconDescription(java.lang.String s)

Modify the textual description of the icon and its purpose.

Method Details

getAccessibleIconDescription

public String getAccessibleIconDescription()

Returns a textual description of the icon and its purpose.

Returns:


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: