javax.swing
クラス JEditorPane.JEditorPaneAccessibleHypertextSupport
java.lang.Object
|
+--javax.accessibility.AccessibleContext
|
+--javax.swing.JComponent.AccessibleJComponent
|
+--javax.swing.text.JTextComponent.AccessibleJTextComponent
|
+--javax.swing.JEditorPane.AccessibleJEditorPane
|
+--javax.swing.JEditorPane.JEditorPaneAccessibleHypertextSupport
- protected class JEditorPane.JEditorPaneAccessibleHypertextSupport
- extends JEditorPane.AccessibleJEditorPane
- implements AccessibleHypertext
AccessibleJEditorPaneHTML.getAccessibleText() によって返されます。
この JEditorPane で HTML ドキュメントが表示される場合のために AccessibleHypertext のサポートを提供します。
- 関連項目:
- 直列化された形式
クラス javax.accessibility.AccessibleContext から継承したフィールド |
ACCESSIBLE_ACTIVE_DESCENDANT_PROPERTY,
ACCESSIBLE_CARET_PROPERTY,
ACCESSIBLE_CHILD_PROPERTY,
ACCESSIBLE_DESCRIPTION_PROPERTY,
ACCESSIBLE_NAME_PROPERTY,
ACCESSIBLE_SELECTION_PROPERTY,
ACCESSIBLE_STATE_PROPERTY,
ACCESSIBLE_TEXT_PROPERTY,
ACCESSIBLE_VALUE_PROPERTY,
ACCESSIBLE_VISIBLE_DATA_PROPERTY,
accessibleDescription,
accessibleName,
accessibleParent |
クラス javax.swing.text.JTextComponent.AccessibleJTextComponent から継承したメソッド |
caretUpdate,
changedUpdate,
getAccessibleRole,
getAccessibleText,
getAfterIndex,
getAtIndex,
getBeforeIndex,
getCaretPosition,
getCharacterAttribute,
getCharacterBounds,
getCharCount,
getIndexAtPoint,
getSelectedText,
getSelectionEnd,
getSelectionStart,
insertUpdate,
removeUpdate |
クラス javax.swing.JComponent.AccessibleJComponent から継承したメソッド |
addFocusListener,
addPropertyChangeListener,
contains,
getAccessibleAt,
getAccessibleChild,
getAccessibleChildrenCount,
getAccessibleComponent,
getAccessibleIndexInParent,
getAccessibleName,
getAccessibleParent,
getBackground,
getBorderTitle,
getBounds,
getCursor,
getFont,
getFontMetrics,
getForeground,
getLocale,
getLocation,
getLocationOnScreen,
getSize,
isEnabled,
isFocusTraversable,
isShowing,
isVisible,
removeFocusListener,
removePropertyChangeListener,
requestFocus,
setBackground,
setBounds,
setCursor,
setEnabled,
setFont,
setForeground,
setLocation,
setSize,
setVisible |
クラス java.lang.Object から継承したメソッド |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JEditorPane.JEditorPaneAccessibleHypertextSupport
public JEditorPane.JEditorPaneAccessibleHypertextSupport()
- ハイパーテキストドキュメントを 1 つ作成します。
getLinkCount
public int getLinkCount()
- このハイパーテキストドキュメント内にあるリンクの数を返します。
- 定義:
- インタフェース AccessibleHypertext 内の getLinkCount
- 戻り値:
- このハイパーテキストドキュメント内にあるリンクの数
getLinkIndex
public int getLinkIndex(int charIndex)
- この文字インデックスに関連付けられているハイパーリンクの配列へのインデックスを返します。このインデックスに関連付けられているハイパーリンクがない場合は -1 を返します。
- 定義:
- インタフェース AccessibleHypertext 内の getLinkIndex
- パラメータ:
charIndex
- テキスト内の文字インデックス- 戻り値:
- このハイパーテキストドキュメントのハイパーリンクのセットへのインデックス
getLink
public AccessibleHyperlink getLink(int linkIndex)
- 指定されたインデックスにあるハイパーリンクの配列へのインデックスを返します。このインデックスにハイパーリンクがない場合は null を返します。
- 定義:
- インタフェース AccessibleHypertext 内の getLink
- パラメータ:
linkIndex
- このハイパーテキストドキュメントのハイパーリンクのセットへのインデックス- 戻り値:
- ハイパーリンクの文字列表現
getLinkText
public String getLinkText(int linkIndex)
- このハイパーリンクに関連付けられているドキュメント内の連続したテキストを返します。
- パラメータ:
linkIndex
- このハイパーテキストドキュメントのハイパーリンクのセットへのインデックス- 戻り値:
- このインデックスにあるリンクを共有する連続したテキスト
バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.