public interface AccessibleIcon
Accessible
),然后调用AccessibleContext.getAccessibleIcon()
方法来确定对象是否支持AccessibleIcon接口。
如果返回值不为空,则该对象支持该接口。
Accessible
, AccessibleContext
Modifier and Type | Method and Description |
---|---|
String |
getAccessibleIconDescription()
获取图标的描述。
|
int |
getAccessibleIconHeight()
获取图标的高度
|
int |
getAccessibleIconWidth()
获取图标的宽度
|
void |
setAccessibleIconDescription(String description)
设置图标的描述。
|
String getAccessibleIconDescription()
void setAccessibleIconDescription(String description)
description
- 图标的描述
int getAccessibleIconWidth()
int getAccessibleIconHeight()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.