javax.accessibility

Interface AccessibleIcon

  • All Known Implementing Classes:
    ImageIcon.AccessibleImageIcon

    public interface AccessibleIcon
    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.
    Since:
    1.3
    See Also:
    Accessible, AccessibleContext
    • Method Detail

      • getAccessibleIconDescription

        String 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
      • setAccessibleIconDescription

        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.
        Parameters:
        description - the description of the icon
      • getAccessibleIconWidth

        int getAccessibleIconWidth()
        Gets the width of the icon
        Returns:
        the width of the icon.
      • getAccessibleIconHeight

        int getAccessibleIconHeight()
        Gets the height of the icon
        Returns:
        the height of the icon.

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 30/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/accessibility/AccessibleIcon.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, AccessibleIcon

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut