java.lang.Object
javax.accessibility.AccessibleContext
java.awt.Component.AccessibleAWTComponent
java.awt.Container.AccessibleAWTContainer
javax.swing.JComponent.AccessibleJComponent
javax.swing.table.JTableHeader.AccessibleJTableHeader
- 封装类:
-
JTableHeader
该类实现了对
JTableHeader
类的辅助功能支持。它提供了适用于表头用户界面元素的Java辅助功能API的实现。
警告: 该类的序列化对象将不兼容未来的Swing版本。当前的序列化支持适用于短期存储或在运行相同Swing版本的应用程序之间的RMI。从1.4版本开始,已将所有JavaBeans的长期存储支持添加到java.beans
包中。请参阅XMLEncoder
。
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
该类为JTableHeader条目提供了适用的Java辅助功能API的实现。Nested classes/interfaces declared in class javax.swing.JComponent.AccessibleJComponent
JComponent.AccessibleJComponent.AccessibleContainerHandler, JComponent.AccessibleJComponent.AccessibleFocusHandler
Nested classes/interfaces declared in class java.awt.Component.AccessibleAWTComponent
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
-
Field Summary
Fields declared in class javax.swing.JComponent.AccessibleJComponent
accessibleFocusHandler
Fields declared in class java.awt.Container.AccessibleAWTContainer
accessibleContainerHandler
Fields declared in class java.awt.Component.AccessibleAWTComponent
accessibleAWTComponentHandler, accessibleAWTFocusHandler
Fields declared in class 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription返回本地坐标点处包含的可访问子项(如果存在)。getAccessibleChild
(int i) 返回对象的第n个可访问子项。int
返回对象中可访问子项的数量。获取此对象的角色。Methods declared in class javax.swing.JComponent.AccessibleJComponent
addPropertyChangeListener, getAccessibleDescription, getAccessibleKeyBinding, getAccessibleName, getAccessibleStateSet, getBorderTitle, getTitledBorderText, getToolTipText, removePropertyChangeListener
Methods declared in class 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
Methods declared in class javax.accessibility.AccessibleContext
firePropertyChange, getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleText, getAccessibleValue, setAccessibleDescription, setAccessibleName, setAccessibleParent
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface javax.accessibility.AccessibleComponent
addFocusListener, contains, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocation, getLocationOnScreen, getSize, isEnabled, isFocusTraversable, isShowing, isVisible, removeFocusListener, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisible
-
Constructor Details
-
AccessibleJTableHeader
protected AccessibleJTableHeader()构造一个AccessibleJTableHeader
。
-
-
Method Details
-
getAccessibleRole
获取此对象的角色。- 覆盖:
-
getAccessibleRole
在类JComponent.AccessibleJComponent
中 - 返回:
- 描述对象角色的AccessibleRole实例
- 参见:
-
getAccessibleAt
返回本地坐标点处包含的可访问子项(如果存在)。- 指定由:
-
getAccessibleAt
在接口AccessibleComponent
中 - 覆盖:
-
getAccessibleAt
在类Container.AccessibleAWTContainer
中 - 参数:
-
p
- 给出对象父级的坐标空间中定义的Accessible左上角的点。 - 返回:
- 指定位置处的Accessible(如果存在);否则为null
-
getAccessibleChildrenCount
public int getAccessibleChildrenCount()返回对象中可访问子项的数量。如果此对象的所有子项都实现了Accessible,则此方法应返回此对象的子项数。- 覆盖:
-
getAccessibleChildrenCount
在类JComponent.AccessibleJComponent
中 - 返回:
- 对象中可访问子项的数量。
-
getAccessibleChild
返回对象的第n个可访问子项。- 覆盖:
-
getAccessibleChild
在类JComponent.AccessibleJComponent
中 - 参数:
-
i
- 子项的从零开始的索引 - 返回:
- 对象的第n个可访问子项
- 参见:
-