Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
Accessible,
AccessibleContext| Method Summary | |
|---|---|
String |
getAccessibleIconDescription()
Gets the description of the icon. |
int |
getAccessibleIconHeight()
Gets the height of the icon |
int |
getAccessibleIconWidth()
Gets the width of the icon |
void |
setAccessibleIconDescription(String description)
Sets the description of the icon. |
| Method Detail |
|---|
String getAccessibleIconDescription()
void setAccessibleIconDescription(String description)
description - the description of the iconint getAccessibleIconWidth()
int getAccessibleIconHeight()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.