com.jidesoft.pane
Class BookmarkPane.AccessibleJTabbedPane
java.lang.Object
javax.accessibility.AccessibleContext
java.awt.Component.AccessibleAWTComponent
java.awt.Container.AccessibleAWTContainer
javax.swing.JComponent.AccessibleJComponent
com.jidesoft.pane.BookmarkPane.AccessibleJTabbedPane
- All Implemented Interfaces:
- Serializable, EventListener, AccessibleComponent, AccessibleExtendedComponent, AccessibleSelection, ChangeListener
- Enclosing class:
- BookmarkPane
protected class BookmarkPane.AccessibleJTabbedPane
- extends JComponent.AccessibleJComponent
- implements AccessibleSelection, ChangeListener
This class implements accessibility support for the JTabbedPane
class. It provides an
implementation of the Java Accessibility API appropriate to tabbed pane user-interface elements.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The
current serialization support is appropriate for short term storage or RMI between applications running the same
version of Swing. As of 1.4, support for long term storage of all JavaBeansTM
has been added to the java.beans
package. Please see XMLEncoder
.
- See Also:
- Serialized Form
Fields inherited from 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 |
Methods inherited from class javax.accessibility.AccessibleContext |
firePropertyChange, getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleTable, getAccessibleText, getAccessibleValue, setAccessibleDescription, setAccessibleName, setAccessibleParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookmarkPane.AccessibleJTabbedPane
public BookmarkPane.AccessibleJTabbedPane()
- Constructs an AccessibleJTabbedPane
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
stateChanged
in interface ChangeListener
getAccessibleRole
public AccessibleRole getAccessibleRole()
- Get the role of this object.
- Overrides:
getAccessibleRole
in class JComponent.AccessibleJComponent
- Returns:
- an instance of AccessibleRole describing the role of the object
getAccessibleChildrenCount
public int getAccessibleChildrenCount()
- Returns the number of accessible children in the object.
- Overrides:
getAccessibleChildrenCount
in class JComponent.AccessibleJComponent
- Returns:
- the number of accessible children in the object.
getAccessibleChild
public Accessible getAccessibleChild(int i)
- Return the specified Accessible child of the object.
- Overrides:
getAccessibleChild
in class JComponent.AccessibleJComponent
- Parameters:
i
- zero-based index of child
- Returns:
- the Accessible child of the object
- Throws:
IllegalArgumentException
- if index is out of bounds
getAccessibleSelection
public AccessibleSelection getAccessibleSelection()
- Gets the
AccessibleSelection
associated with this object. In the implementation of the Java
Accessibility API for this class, returns this object, which is responsible for implementing the
AccessibleSelection
interface on behalf of itself.
- Overrides:
getAccessibleSelection
in class AccessibleContext
- Returns:
- this object
getAccessibleAt
public Accessible getAccessibleAt(Point p)
- Returns the
Accessible
child contained at the local coordinate Point
, if one
exists. Otherwise returns the currently selected tab.
- Specified by:
getAccessibleAt
in interface AccessibleComponent
- Overrides:
getAccessibleAt
in class JComponent.AccessibleJComponent
- Returns:
- the
Accessible
at the specified location, if it exists
getAccessibleSelectionCount
public int getAccessibleSelectionCount()
- Specified by:
getAccessibleSelectionCount
in interface AccessibleSelection
getAccessibleSelection
public Accessible getAccessibleSelection(int i)
- Specified by:
getAccessibleSelection
in interface AccessibleSelection
isAccessibleChildSelected
public boolean isAccessibleChildSelected(int i)
- Specified by:
isAccessibleChildSelected
in interface AccessibleSelection
addAccessibleSelection
public void addAccessibleSelection(int i)
- Specified by:
addAccessibleSelection
in interface AccessibleSelection
removeAccessibleSelection
public void removeAccessibleSelection(int i)
- Specified by:
removeAccessibleSelection
in interface AccessibleSelection
clearAccessibleSelection
public void clearAccessibleSelection()
- Specified by:
clearAccessibleSelection
in interface AccessibleSelection
selectAllAccessibleSelection
public void selectAllAccessibleSelection()
- Specified by:
selectAllAccessibleSelection
in interface AccessibleSelection