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.
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.
(get-accessible-icon-description this)
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 - java.lang.String
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 - `java.lang.String`
(get-accessible-icon-height this)
Gets the height of the icon
returns: the height of the icon. - int
Gets the height of the icon returns: the height of the icon. - `int`
(get-accessible-icon-width this)
Gets the width of the icon
returns: the width of the icon. - int
Gets the width of the icon returns: the width of the icon. - `int`
(set-accessible-icon-description this 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.
description - the description of the icon - java.lang.String
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. description - the description of the icon - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close