javax.swing
Class JEditorPane.AccessibleJEditorPanejava.lang.Object | +--javax.accessibility.AccessibleContext | +--java.awt.Component.AccessibleAWTComponent | +--java.awt.Container.AccessibleAWTContainer | +--javax.swing.JComponent.AccessibleJComponent | +--javax.swing.text.JTextComponent.AccessibleJTextComponent | +--javax.swing.JEditorPane.AccessibleJEditorPane
- All Implemented Interfaces:
- AccessibleAction, AccessibleComponent, AccessibleEditableText, AccessibleExtendedComponent, AccessibleText, CaretListener, DocumentListener, EventListener, Serializable
- Direct Known Subclasses:
- JEditorPane.AccessibleJEditorPaneHTML, JEditorPane.JEditorPaneAccessibleHypertextSupport
- Enclosing class:
- JEditorPane
- protected class JEditorPane.AccessibleJEditorPane
- extends JTextComponent.AccessibleJTextComponent
This class implements accessibility support for the JEditorPane class. It provides an implementation of the Java Accessibility API appropriate to editor 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.
Nested Class Summary
Nested classes inherited from class javax.swing.JComponent.AccessibleJComponent JComponent.AccessibleJComponent.AccessibleContainerHandler, JComponent.AccessibleJComponent.AccessibleFocusHandler
Nested classes inherited from class java.awt.Container.AccessibleAWTContainer Container.AccessibleAWTContainer.AccessibleContainerHandler
Nested classes inherited from class java.awt.Component.AccessibleAWTComponent Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
Field Summary
Fields inherited from class javax.swing.JComponent.AccessibleJComponent accessibleContainerHandler, accessibleFocusHandler
Fields inherited from class java.awt.Component.AccessibleAWTComponent accessibleAWTComponentHandler, accessibleAWTFocusHandler
Fields inherited from interface javax.accessibility.AccessibleText CHARACTER, SENTENCE, WORD
Constructor Summary
protected JEditorPane.AccessibleJEditorPane()
Method Summary
String getAccessibleDescription()
Gets the accessibleDescription property of this object.AccessibleStateSet getAccessibleStateSet()
Gets the state set of this object.
Methods inherited from class javax.swing.JComponent.AccessibleJComponent addPropertyChangeListener, getAccessibleChild, getAccessibleChildrenCount, getAccessibleKeyBinding, getAccessibleName, getBorderTitle, getTitledBorderText, getToolTipText, removePropertyChangeListener
Methods inherited from class java.awt.Container.AccessibleAWTContainer getAccessibleAt
Methods inherited from class javax.accessibility.AccessibleContext firePropertyChange, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleValue, setAccessibleDescription, setAccessibleName, setAccessibleParent
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface 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
Constructor Detail
JEditorPane.AccessibleJEditorPane
protected JEditorPane.AccessibleJEditorPane()
Method Detail
getAccessibleDescription
public String getAccessibleDescription()
- Gets the accessibleDescription property of this object. If this property isn't set, returns the content type of this JEditorPane instead (e.g. "plain/text", "html/text").
- Overrides:
- getAccessibleDescription in class JComponent.AccessibleJComponent
- Returns:
- the localized description of the object; null if this object does not have a description
- See Also:
- AccessibleContext.setAccessibleName(java.lang.String)
getAccessibleStateSet
public AccessibleStateSet getAccessibleStateSet()
- Gets the state set of this object.
- Overrides:
- getAccessibleStateSet in class JTextComponent.AccessibleJTextComponent
- Returns:
- an instance of AccessibleStateSet describing the states of the object
- See Also:
- AccessibleStateSet