|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public String getAccessibleIconDescription()
public void setAccessibleIconDescription(String description)
description
- the description of the iconpublic int getAccessibleIconWidth()
public int getAccessibleIconHeight()
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.