class. It provides an implementation of the
Java Accessibility API appropriate to image icon user-interface
elements.
Method from javax.swing.ImageIcon$AccessibleImageIcon Detail: |
public Accessible getAccessibleChild(int i) {
return null;
}
Returns the nth Accessible child of the object. |
public int getAccessibleChildrenCount() {
return 0;
}
Returns the number of accessible children in the object. If all
of the children of this object implement Accessible, than this
method should return the number of children of this object. |
public String getAccessibleIconDescription() {
return ImageIcon.this.getDescription();
}
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. |
public int getAccessibleIconHeight() {
return ImageIcon.this.height;
}
Gets the height of the icon. |
public int getAccessibleIconWidth() {
return ImageIcon.this.width;
}
Gets the width of the icon. |
public int getAccessibleIndexInParent() {
return -1;
}
Gets the index of this object in its accessible parent. |
public Accessible getAccessibleParent() {
return null;
}
Gets the Accessible parent of this object. If the parent of this
object implements Accessible, this method should simply return
getParent(). |
public AccessibleRole getAccessibleRole() {
return AccessibleRole.ICON;
}
Gets the role of this object. |
public AccessibleStateSet getAccessibleStateSet() {
return null;
}
Gets the state of this object. |
public Locale getLocale() throws IllegalComponentStateException {
return null;
}
Returns the locale of this object. |
public void setAccessibleIconDescription(String description) {
ImageIcon.this.setDescription(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. |