|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.accessibility.AccessibleContext | +--javax.swing.JComponent.AccessibleJComponent | +--javax.swing.text.JTextComponent.AccessibleJTextComponent | +--javax.swing.JEditorPane.AccessibleJEditorPane | +--javax.swing.JEditorPane.JEditorPaneAccessibleHypertextSupport
What's returned by AccessibleJEditorPaneHTML.getAccessibleText() Provides support for AccessibleHypertext in case there is an HTML document being displayed in this JEditorPane.
Inner Class Summary | |
class |
JEditorPane.JEditorPaneAccessibleHypertextSupport.HTMLLink
|
Inner classes inherited from class javax.swing.JComponent.AccessibleJComponent |
JComponent.AccessibleJComponent.AccessibleContainerHandler |
Fields inherited from class javax.swing.JComponent.AccessibleJComponent |
accessibleContainerHandler |
Constructor Summary | |
JEditorPane.JEditorPaneAccessibleHypertextSupport()
Make one of these puppies |
Method Summary | |
AccessibleHyperlink |
getLink(int linkIndex)
Returns the index into an array of hyperlinks that index. |
int |
getLinkCount()
Returns the number of links within this hypertext doc. |
int |
getLinkIndex(int charIndex)
Returns the index into an array of hyperlinks that is associated with this character index, or -1 if there is no hyperlink associated with this index. |
java.lang.String |
getLinkText(int linkIndex)
Returns the contiguous text within the document that is associated with this hyperlink. |
Methods inherited from class javax.swing.JEditorPane.AccessibleJEditorPane |
getAccessibleDescription,
getAccessibleStateSet |
Methods inherited from class javax.swing.text.JTextComponent.AccessibleJTextComponent |
caretUpdate,
changedUpdate,
getAccessibleRole,
getAccessibleText,
getAfterIndex,
getAtIndex,
getBeforeIndex,
getCaretPosition,
getCharacterAttribute,
getCharacterBounds,
getCharCount,
getIndexAtPoint,
getSelectedText,
getSelectionEnd,
getSelectionStart,
insertUpdate,
removeUpdate |
Methods inherited from class javax.accessibility.AccessibleContext |
firePropertyChange,
getAccessibleAction,
getAccessibleSelection,
getAccessibleValue,
setAccessibleDescription,
setAccessibleName,
setAccessibleParent |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public JEditorPane.JEditorPaneAccessibleHypertextSupport()
Method Detail |
public int getLinkCount()
public int getLinkIndex(int charIndex)
character
- index within the textpublic AccessibleHyperlink getLink(int linkIndex)
index
- into the set of hyperlinks for this hypertext doc.public java.lang.String getLinkText(int linkIndex)
index
- into the set of hyperlinks for this hypertext doc.
|
Swing 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |