GNU Classpath (0.95) | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.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
javax.swing.JEditorPane.JEditorPaneAccessibleHypertextSupport
protected class JEditorPane.JEditorPaneAccessibleHypertextSupport
implements AccessibleHypertext
JEditorPane.AccessibleJEditorPaneHTML.getAccessibleText()
.
Nested Class Summary | |
class |
|
Nested classes/interfaces inherited from class javax.swing.JComponent.AccessibleJComponent | |
JComponent.AccessibleJComponent.AccessibleContainerHandler , JComponent.AccessibleJComponent.AccessibleFocusHandler |
Nested classes/interfaces inherited from class java.awt.Container.AccessibleAWTContainer | |
Container.AccessibleAWTContainer.AccessibleContainerHandler |
Nested classes/interfaces 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.Container.AccessibleAWTContainer | |
accessibleContainerHandler |
Fields inherited from class java.awt.Component.AccessibleAWTComponent | |
accessibleAWTComponentHandler , accessibleAWTFocusHandler |
Fields inherited from interface javax.accessibility.AccessibleAction | |
DECREMENT , INCREMENT , TOGGLE_EXPAND |
Fields inherited from interface javax.accessibility.AccessibleText | |
CHARACTER , SENTENCE , WORD |
Constructor Summary | |
|
Method Summary | |
AccessibleHyperlink |
|
int |
|
int |
|
String |
|
Methods inherited from class javax.swing.JEditorPane.AccessibleJEditorPane | |
getAccessibleDescription , getAccessibleStateSet |
Methods inherited from class java.awt.Container.AccessibleAWTContainer | |
getAccessibleAt , getAccessibleChild , getAccessibleChildrenCount |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public JEditorPaneAccessibleHypertextSupport()
Creates a new JEditorPaneAccessibleHypertextSupport object.
public AccessibleHyperlink getLink(int i)
Returns thei
-th hyperlink in the document ornull
if there is no hyperlink with the specified index.
- Specified by:
- getLink in interface AccessibleHypertext
- Parameters:
i
- the index of the hyperlink to return
- Returns:
- the
i
-th hyperlink in the document ornull
if there is no hyperlink with the specified index
public int getLinkCount()
Returns the number of hyperlinks in the document.
- Specified by:
- getLinkCount in interface AccessibleHypertext
- Returns:
- the number of hyperlinks in the document
public int getLinkIndex(int c)
Returns the index of the link element at the character positionc
within the document, or-1
if there is no link at the specified position.
- Specified by:
- getLinkIndex in interface AccessibleHypertext
- Parameters:
c
- the character index from which to fetch the link index
- Returns:
- the index of the link element at the character position
c
within the document, or-1
if there is no link at the specified position
public String getLinkText(int i)
Returns the link text of the link at indexi
, ornull
, if there is no link at the specified position.
- Parameters:
i
- the index of the link
- Returns:
- the link text of the link at index
i
, ornull
, if there is no link at the specified position
GNU Classpath (0.95) |