protected class Choice.AccessibleAWTChoice extends Component.AccessibleAWTComponent implements AccessibleAction
Choice
类。
它提供了适合于选择用户界面元素的Java Accessibility API的实现。
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
accessibleAWTComponentHandler, accessibleAWTFocusHandler
ACCESSIBLE_ACTION_PROPERTY, ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY, ACCESSIBLE_CARET_PROPERTY, ACCESSIBLE_CHILD_PROPERTY, ACCESSIBLE_COMPONENT_BOUNDS_CHANGED, ACCESSIBLE_DESCRIPTION_PROPERTY, ACCESSIBLE_HYPERTEXT_OFFSET, ACCESSIBLE_INVALIDATE_CHILDREN, ACCESSIBLE_NAME_PROPERTY, ACCESSIBLE_SELECTION_PROPERTY, ACCESSIBLE_STATE_PROPERTY, ACCESSIBLE_TABLE_CAPTION_CHANGED, ACCESSIBLE_TABLE_COLUMN_DESCRIPTION_CHANGED, ACCESSIBLE_TABLE_COLUMN_HEADER_CHANGED, ACCESSIBLE_TABLE_MODEL_CHANGED, ACCESSIBLE_TABLE_ROW_DESCRIPTION_CHANGED, ACCESSIBLE_TABLE_ROW_HEADER_CHANGED, ACCESSIBLE_TABLE_SUMMARY_CHANGED, ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED, ACCESSIBLE_TEXT_PROPERTY, ACCESSIBLE_VALUE_PROPERTY, ACCESSIBLE_VISIBLE_DATA_PROPERTY, accessibleDescription, accessibleName, accessibleParent
CLICK, DECREMENT, INCREMENT, TOGGLE_EXPAND, TOGGLE_POPUP
Constructor and Description |
---|
AccessibleAWTChoice() |
Modifier and Type | Method and Description |
---|---|
boolean |
doAccessibleAction(int i)
对对象执行指定的Action
|
AccessibleAction |
getAccessibleAction()
获取与此对象关联的AccessibleAction。
|
int |
getAccessibleActionCount()
返回此对象中可用操作的数量如果有多个可访问的操作数,则第一个被视为对象的“默认”操作。
|
String |
getAccessibleActionDescription(int i)
返回对象的指定操作的描述。
|
AccessibleRole |
getAccessibleRole()
获取此对象的角色。
|
addFocusListener, addPropertyChangeListener, contains, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAccessibleComponent, getAccessibleDescription, getAccessibleIndexInParent, getAccessibleName, getAccessibleParent, getAccessibleStateSet, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocale, getLocation, getLocationOnScreen, getSize, isEnabled, isFocusTraversable, isShowing, isVisible, removeFocusListener, removePropertyChangeListener, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisible
firePropertyChange, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleText, getAccessibleValue, setAccessibleDescription, setAccessibleName, setAccessibleParent
public AccessibleAction getAccessibleAction()
getAccessibleAction
在类别
AccessibleContext
AccessibleAction
public AccessibleRole getAccessibleRole()
getAccessibleRole
在类别
Component.AccessibleAWTComponent
AccessibleRole
public int getAccessibleActionCount()
getAccessibleActionCount
在界面
AccessibleAction
public String getAccessibleActionDescription(int i)
getAccessibleActionDescription
在界面
AccessibleAction
i
- 基于零的操作索引
getAccessibleActionCount()
public boolean doAccessibleAction(int i)
doAccessibleAction
在界面
AccessibleAction
i
- 基于零的操作索引
getAccessibleActionCount()