protected class JSpinner.AccessibleJSpinner extends JComponent.AccessibleJComponent implements AccessibleValue, AccessibleAction, AccessibleText, AccessibleEditableText, ChangeListener
AccessibleJSpinner は、JSpinner クラスのアクセシビリティーサポートを実装しています。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, WORD| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
JSpinner.AccessibleJSpinner()
AccessibleJSpinner コンストラクタです。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
void |
cut(int startIndex, int endIndex)
2 つのインデックス間のテキストを切り取り、システムクリップボードへ格納します。
|
void |
delete(int startIndex, int endIndex)
2 つのインデックス間のテキストを削除します。
|
boolean |
doAccessibleAction(int i)
オブジェクトに対して指定された Action を実行します。
|
AccessibleAction |
getAccessibleAction()
1 つ以上のアクションをサポートするこのオブジェクトに関連付けられた AccessibleAction を取得します。
|
int |
getAccessibleActionCount()
オブジェクトで利用可能なアクセシビリティー対応のアクションの数を返します。アクションが複数ある場合は、最初のアクションがオブジェクトの「デフォルトアクション」と見なされます。
|
String |
getAccessibleActionDescription(int i)
指定されたオブジェクトのアクションについての説明を返します。
|
Accessible |
getAccessibleChild(int i)
オブジェクトの指定された Accessible 子を返します。
|
int |
getAccessibleChildrenCount()
オブジェクトの Accessible 子の数を返します。
|
AccessibleRole |
getAccessibleRole()
このオブジェクトの役割を取得します。
|
AccessibleText |
getAccessibleText()
画面にテキストを表示するこのオブジェクトに関連付けられた AccessibleText を取得します。
|
AccessibleValue |
getAccessibleValue()
このオブジェクトに関連付けられた AccessibleValue を取得します。
|
String |
getAfterIndex(int part, int index)
指定されたインデックスのあとの文字列を返します。
|
String |
getAtIndex(int part, int index)
指定されたインデックスでの文字列を返します。
|
String |
getBeforeIndex(int part, int index)
指定されたインデックスの前の文字列を返します。
|
int |
getCaretPosition()
キャレットのゼロから始まるオフセットを返します。
|
AttributeSet |
getCharacterAttribute(int i)
指定されたインデックスの位置にある指定された文字の AttributeSet を返します。
|
Rectangle |
getCharacterBounds(int i)
文字列に対する指定されたインデックスで文字のバウンディングボックスを決定します。
|
int |
getCharCount()
文字の数を返します (有効なインデックス)。
|
Number |
getCurrentAccessibleValue()
このオブジェクトの値を Number として取得します。
|
int |
getIndexAtPoint(Point p)
ローカル座標でポイントを指定し、その Point 下の文字のゼロから始まるインデックスを返します。
|
Number |
getMaximumAccessibleValue()
このオブジェクトの最大値を Number として取得します。
|
Number |
getMinimumAccessibleValue()
このオブジェクトの最小値を Number として取得します。
|
String |
getSelectedText()
選択されているテキストの一部を返します。
|
int |
getSelectionEnd()
選択したテキスト内の終了オフセットを返します。
|
int |
getSelectionStart()
選択したテキスト内の開始オフセットを返します。
|
String |
getTextRange(int startIndex, int endIndex)
2 つのインデックス間のテキスト文字列を返します。
|
void |
insertTextAtIndex(int index, String s)
指定された文字列を指定されたインデックスに挿入します。
|
void |
paste(int startIndex)
システムクリップボードのテキストを指定したインデックスで始まるテキストにペーストします。
|
void |
replaceText(int startIndex, int endIndex, String s)
2 つのインデックス間のテキストを、指定した文字列に置き換えます。
|
void |
selectText(int startIndex, int endIndex)
2 つのインデックス間のテキストを選択します。
|
void |
setAttributes(int startIndex, int endIndex, AttributeSet as)
2 つのインデックス間のテキストの属性を設定します。
|
boolean |
setCurrentAccessibleValue(Number n)
このオブジェクトの値を Number として設定します。
|
void |
setTextContents(String s)
テキストコンテンツを指定文字列に設定します。
|
void |
stateChanged(ChangeEvent e)
リスナーの対象の状態が変更されたときに呼び出されます。
|
addPropertyChangeListener, getAccessibleDescription, getAccessibleKeyBinding, getAccessibleName, getAccessibleStateSet, 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, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, 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 JSpinner.AccessibleJSpinner()
public void stateChanged(ChangeEvent e)
stateChanged 、インタフェース: ChangeListenere - ChangeEvent オブジェクト。null は不可。NullPointerException - パラメータが null の場合。public AccessibleRole getAccessibleRole()
AccessibleRole クラスは拡張可能でもあるので、カスタムコンポーネントの開発者は、事前に定義された役割のセットでは不十分な場合に、独自の AccessibleRole を定義できます。
getAccessibleRole 、クラス: JComponent.AccessibleJComponentAccessibleRolepublic int getAccessibleChildrenCount()
getAccessibleChildrenCount 、クラス: JComponent.AccessibleJComponentpublic Accessible getAccessibleChild(int i)
getAccessibleChild 、クラス: JComponent.AccessibleJComponenti - 子のゼロから始まるインデックスgetAccessibleChildrenCount()public AccessibleAction getAccessibleAction()
getAccessibleAction 、クラス: AccessibleContextAccessibleActionpublic AccessibleText getAccessibleText()
getAccessibleText 、クラス: AccessibleContextAccessibleTextpublic AccessibleValue getAccessibleValue()
getAccessibleValue 、クラス: AccessibleContextAccessibleValuepublic Number getCurrentAccessibleValue()
getCurrentAccessibleValue 、インタフェース: AccessibleValuesetCurrentAccessibleValue(java.lang.Number)public boolean setCurrentAccessibleValue(Number n)
setCurrentAccessibleValue 、インタフェース: AccessibleValuen - このオブジェクト用として設定する値getCurrentAccessibleValue()public Number getMinimumAccessibleValue()
getMinimumAccessibleValue 、インタフェース: AccessibleValuegetMaximumAccessibleValue()public Number getMaximumAccessibleValue()
getMaximumAccessibleValue 、インタフェース: AccessibleValuegetMinimumAccessibleValue()public int getAccessibleActionCount()
getAccessibleActionCount 、インタフェース: AccessibleActionpublic String getAccessibleActionDescription(int i)
getAccessibleActionDescription 、インタフェース: AccessibleActioni - アクションのゼロから始まるインデックスgetAccessibleActionCount()public boolean doAccessibleAction(int i)
doAccessibleAction 、インタフェース: AccessibleActioni - アクションのゼロから始まるインデックス。最初のアクション (インデックス 0) は AccessibleAction.INCREMENT、2 番目のアクション (インデックス 1) は AccessibleAction.DECREMENT。getAccessibleActionCount()public int getIndexAtPoint(Point p)
getIndexAtPoint 、インタフェース: AccessibleTextp - ローカル座標の Pointpublic Rectangle getCharacterBounds(int i)
getCharacterBounds 、インタフェース: AccessibleTexti - String に対するインデックスpublic int getCharCount()
getCharCount 、インタフェース: AccessibleTextpublic int getCaretPosition()
getCaretPosition 、インタフェース: AccessibleTextpublic String getAtIndex(int part, int index)
getAtIndex 、インタフェース: AccessibleTextpart - 取得する CHARACTER、WORD、または SENTENCEindex - テキスト内のインデックスpublic String getAfterIndex(int part, int index)
getAfterIndex 、インタフェース: AccessibleTextpart - 取得する CHARACTER、WORD、または SENTENCEindex - テキスト内のインデックスpublic String getBeforeIndex(int part, int index)
getBeforeIndex 、インタフェース: AccessibleTextpart - 取得する CHARACTER、WORD、または SENTENCEindex - テキスト内のインデックスpublic AttributeSet getCharacterAttribute(int i)
getCharacterAttribute 、インタフェース: AccessibleTexti - テキスト内の 0 から始まるインデックスpublic int getSelectionStart()
getSelectionStart 、インタフェース: AccessibleTextpublic int getSelectionEnd()
getSelectionEnd 、インタフェース: AccessibleTextpublic String getSelectedText()
getSelectedText 、インタフェース: AccessibleTextpublic void setTextContents(String s)
setTextContents 、インタフェース: AccessibleEditableTexts - テキストコンテンツを設定する文字列public void insertTextAtIndex(int index,
String s)
insertTextAtIndex 、インタフェース: AccessibleEditableTextindex - 文字列を挿入するテキストのインデックスs - テキストに挿入する文字列public String getTextRange(int startIndex, int endIndex)
getTextRange 、インタフェース: AccessibleEditableTextstartIndex - テキストの開始インデックスendIndex - テキストの終了インデックスpublic void delete(int startIndex,
int endIndex)
delete 、インタフェース: AccessibleEditableTextstartIndex - テキストの開始インデックスendIndex - テキストの終了インデックスpublic void cut(int startIndex,
int endIndex)
cut 、インタフェース: AccessibleEditableTextstartIndex - テキストの開始インデックスendIndex - テキストの終了インデックスpublic void paste(int startIndex)
paste 、インタフェース: AccessibleEditableTextstartIndex - テキストの開始インデックスpublic void replaceText(int startIndex,
int endIndex,
String s)
replaceText 、インタフェース: AccessibleEditableTextstartIndex - テキストの開始インデックスendIndex - テキストの終了インデックスs - 2 つのインデックス間のテキストを置き換える文字列public void selectText(int startIndex,
int endIndex)
selectText 、インタフェース: AccessibleEditableTextstartIndex - テキストの開始インデックスendIndex - テキストの終了インデックスpublic void setAttributes(int startIndex,
int endIndex,
AttributeSet as)
setAttributes 、インタフェース: AccessibleEditableTextstartIndex - テキストの開始インデックスendIndex - テキストの終了インデックスas - 属性セットAttributeSet バグまたは機能を送信
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.