- java.lang.Object
-
- javax.accessibility.AccessibleContext
-
- java.awt.Component.AccessibleAWTComponent
-
- java.awt.Container.AccessibleAWTContainer
-
- javax.swing.JComponent.AccessibleJComponent
-
- javax.swing.JPopupMenu.AccessibleJPopupMenu
-
- 实现的所有接口
-
PropertyChangeListener
,Serializable
,EventListener
,AccessibleComponent
,AccessibleExtendedComponent
- Enclosing class:
- JPopupMenu
protected class JPopupMenu.AccessibleJPopupMenuextends JComponent.AccessibleJComponentimplements PropertyChangeListener
此类实现JPopupMenu
类的可访问性支持。 它提供了适用于弹出菜单用户界面元素的Java Accessibility API的实现。- 另请参见:
- Serialized Form
-
-
字段汇总
-
声明的属性在类 javax.swing.JComponent.AccessibleJComponent
accessibleFocusHandler
-
声明的属性在类 java.awt.Container.AccessibleAWTContainer
accessibleContainerHandler
-
声明的属性在类 java.awt.Component.AccessibleAWTComponent
accessibleAWTComponentHandler, accessibleAWTFocusHandler
-
声明的属性在类 javax.accessibility.AccessibleContext
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
-
-
构造方法摘要
构造方法 变量 构造器 描述 protected
AccessibleJPopupMenu()
AccessibleJPopupMenu构造函数
-
方法摘要
所有方法 实例方法 具体的方法 变量和类型 方法 描述 AccessibleRole
getAccessibleRole()
获得此对象的角色。void
propertyChange(PropertyChangeEvent e)
更改绑定属性时将调用此方法。-
声明方法的类 javax.swing.JComponent.AccessibleJComponent
addPropertyChangeListener, getAccessibleChild, getAccessibleChildrenCount, getAccessibleDescription, getAccessibleKeyBinding, getAccessibleName, getAccessibleStateSet, getBorderTitle, getTitledBorderText, getToolTipText, removePropertyChangeListener
-
声明方法的类 java.awt.Container.AccessibleAWTContainer
getAccessibleAt
-
声明方法的类 java.awt.Component.AccessibleAWTComponent
addFocusListener, contains, getAccessibleComponent, getAccessibleIndexInParent, getAccessibleParent, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocale, getLocation, getLocationOnScreen, getSize, isEnabled, isFocusTraversable, isShowing, isVisible, removeFocusListener, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisible
-
声明方法的类 javax.accessibility.AccessibleContext
firePropertyChange, getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleText, getAccessibleValue, setAccessibleDescription, setAccessibleName, setAccessibleParent
-
声明方法的类 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
声明方法的接口 javax.accessibility.AccessibleComponent
addFocusListener, contains, getAccessibleAt, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocation, getLocationOnScreen, getSize, isEnabled, isFocusTraversable, isShowing, isVisible, removeFocusListener, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisible
-
-
-
-
方法详细信息
-
getAccessibleRole
public AccessibleRole getAccessibleRole()
获得此对象的角色。- 重写:
-
getAccessibleRole
类JComponent.AccessibleJComponent
- 结果
- AccessibleRole的一个实例,用于描述对象的角色
- 另请参见:
-
AccessibleRole
-
propertyChange
public void propertyChange(PropertyChangeEvent e)
更改绑定属性时将调用此方法。- Specified by:
-
propertyChange
,界面PropertyChangeListener
- 参数
-
e
- 描述事件源和已更改属性的PropertyChangeEvent
对象。 不能为空。 - 异常
-
NullPointerException
- 如果参数为null。 - 从以下版本开始:
- 1.5
-
-