protected class JPasswordField.AccessibleJPasswordField extends JTextField.AccessibleJTextField
JPasswordField クラスのアクセシビリティーサポートを実装しています。パスワードフィールドのユーザーインタフェース要素に適した Java Accessibility API を実装しています。
警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の格納や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。1.4 以降、すべての JavaBeansTM 用の長期間の格納サポートが java.beans パッケージに追加されています。XMLEncoder を参照してください。
JComponent.AccessibleJComponent.AccessibleContainerHandler, JComponent.AccessibleJComponent.AccessibleFocusHandlerComponent.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandleraccessibleFocusHandleraccessibleContainerHandleraccessibleAWTComponentHandler, accessibleAWTFocusHandlerACCESSIBLE_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, accessibleParentCLICK, DECREMENT, INCREMENT, TOGGLE_EXPAND, TOGGLE_POPUPCHARACTER, SENTENCE, WORDATTRIBUTE_RUN, LINE| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
JPasswordField.AccessibleJPasswordField() |
| 修飾子と型 | メソッドと説明 |
|---|---|
AccessibleRole |
getAccessibleRole()
このオブジェクトの役割を取得します。
|
AccessibleText |
getAccessibleText()
JPasswordField の AccessibleText を取得します。 |
String |
getAfterIndex(int part, int index)
指定された
index の後ろの String を返します。 |
String |
getAtIndex(int part, int index)
指定された
index にある String を返します。 |
String |
getBeforeIndex(int part, int index)
指定された
index の前の String を返します。 |
String |
getTextRange(int startIndex, int endIndex)
2 つの
indices 間のテキストを返します。 |
AccessibleTextSequence |
getTextSequenceAfter(int part, int index)
指定された
index の後ろの AccessibleTextSequence を返します。 |
AccessibleTextSequence |
getTextSequenceAt(int part, int index)
指定された
index にある AccessibleTextSequence を返します。 |
AccessibleTextSequence |
getTextSequenceBefore(int part, int index)
指定された
index の前の AccessibleTextSequence を返します。 |
getAccessibleStateSetcaretUpdate, changedUpdate, cut, delete, doAccessibleAction, getAccessibleAction, getAccessibleActionCount, getAccessibleActionDescription, getAccessibleEditableText, getCaretPosition, getCharacterAttribute, getCharacterBounds, getCharCount, getIndexAtPoint, getSelectedText, getSelectionEnd, getSelectionStart, getTextBounds, insertTextAtIndex, insertUpdate, paste, removeUpdate, replaceText, selectText, setAttributes, setTextContentsaddPropertyChangeListener, getAccessibleChild, getAccessibleChildrenCount, getAccessibleDescription, getAccessibleKeyBinding, getAccessibleName, getBorderTitle, getTitledBorderText, getToolTipText, removePropertyChangeListenergetAccessibleAtaddFocusListener, contains, getAccessibleComponent, getAccessibleIndexInParent, getAccessibleParent, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getLocale, getLocation, getLocationOnScreen, getSize, isEnabled, isFocusTraversable, isShowing, isVisible, removeFocusListener, requestFocus, setBackground, setBounds, setCursor, setEnabled, setFont, setForeground, setLocation, setSize, setVisiblefirePropertyChange, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleValue, setAccessibleDescription, setAccessibleName, setAccessibleParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFocusListener, 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, setVisibleprotected JPasswordField.AccessibleJPasswordField()
public AccessibleRole getAccessibleRole()
getAccessibleRole 、クラス: JTextComponent.AccessibleJTextComponentAccessibleRolepublic AccessibleText getAccessibleText()
JPasswordField の AccessibleText を取得します。返されたオブジェクトも AccessibleExtendedText インタフェースを実装します。getAccessibleText 、クラス: JTextComponent.AccessibleJTextComponentAccessibleTextAccessibleContext, AccessibleContext.getAccessibleText(), AccessibleText, AccessibleExtendedTextpublic String getAtIndex(int part, int index)
index にある String を返します。getAtIndex 、インタフェース: AccessibleTextgetAtIndex 、クラス: JTextComponent.AccessibleJTextComponentpart - 取得する CHARACTER、WORD、または SENTENCEindex - テキスト内のインデックスpart と index が有効な場合は、String。それ以外の場合は null を返すAccessibleText.CHARACTER, AccessibleText.WORD, AccessibleText.SENTENCEpublic String getAfterIndex(int part, int index)
index の後ろの String を返します。getAfterIndex 、インタフェース: AccessibleTextgetAfterIndex 、クラス: JTextComponent.AccessibleJTextComponentpart - 取得する CHARACTER、WORD、または SENTENCEindex - テキスト内のインデックスpart と index が有効な場合は、String。それ以外の場合は null を返すAccessibleText.CHARACTER, AccessibleText.WORD, AccessibleText.SENTENCEpublic String getBeforeIndex(int part, int index)
index の前の String を返します。getBeforeIndex 、インタフェース: AccessibleTextgetBeforeIndex 、クラス: JTextComponent.AccessibleJTextComponentpart - 取得する CHARACTER、WORD、または SENTENCEindex - テキスト内のインデックスpart と index が有効な場合は、String。それ以外の場合は null を返すAccessibleText.CHARACTER, AccessibleText.WORD, AccessibleText.SENTENCEpublic String getTextRange(int startIndex, int endIndex)
indices 間のテキストを返します。getTextRange 、インタフェース: AccessibleEditableTextgetTextRange 、インタフェース: AccessibleExtendedTextgetTextRange 、クラス: JTextComponent.AccessibleJTextComponentstartIndex - テキストの開始インデックスendIndex - テキストの終了インデックスnull を返すpublic AccessibleTextSequence getTextSequenceAt(int part, int index)
index にある AccessibleTextSequence を返します。getTextSequenceAt 、インタフェース: AccessibleExtendedTextgetTextSequenceAt 、クラス: JTextComponent.AccessibleJTextComponentpart - 取得する CHARACTER、WORD、SENTENCE、LINE、または ATTRIBUTE_RUNindex - テキスト内のインデックスpart と index が有効な場合は、テキストを指定する AccessibleTextSequence。それ以外の場合は null を返すAccessibleText.CHARACTER, AccessibleText.WORD, AccessibleText.SENTENCE, AccessibleExtendedText.LINE, AccessibleExtendedText.ATTRIBUTE_RUNpublic AccessibleTextSequence getTextSequenceAfter(int part, int index)
index の後ろの AccessibleTextSequence を返します。getTextSequenceAfter 、インタフェース: AccessibleExtendedTextgetTextSequenceAfter 、クラス: JTextComponent.AccessibleJTextComponentpart - 取得する CHARACTER、WORD、SENTENCE、LINE、または ATTRIBUTE_RUNindex - テキスト内のインデックスpart と index が有効な場合は、テキストを指定する AccessibleTextSequence。それ以外の場合は null を返すAccessibleText.CHARACTER, AccessibleText.WORD, AccessibleText.SENTENCE, AccessibleExtendedText.LINE, AccessibleExtendedText.ATTRIBUTE_RUNpublic AccessibleTextSequence getTextSequenceBefore(int part, int index)
index の前の AccessibleTextSequence を返します。getTextSequenceBefore 、インタフェース: AccessibleExtendedTextgetTextSequenceBefore 、クラス: JTextComponent.AccessibleJTextComponentpart - 取得する CHARACTER、WORD、SENTENCE、LINE、または ATTRIBUTE_RUNindex - テキスト内のインデックスpart と index が有効な場合は、テキストを指定する AccessibleTextSequence。それ以外の場合は null を返すAccessibleText.CHARACTER, AccessibleText.WORD, AccessibleText.SENTENCE, AccessibleExtendedText.LINE, AccessibleExtendedText.ATTRIBUTE_RUN バグまたは機能を送信
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.