クラスjava.awt.event.FocusEvent
の使用
パッケージ
説明
ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。
AWTコンポーネントによってトリガーされるさまざまな種類のイベントを処理するインタフェースとクラスを提供します。
すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。
1つのインタフェースおよび多くのabstractクラスを提供しており、Swingはプラグイン可能なLook & Feel機能を提供するためにこれらを利用します。
基本Look & Feelに従って構築されたユーザー・インタフェース・オブジェクトを提供します。
編集可能なテキスト・コンポーネントと編集不能なテキスト・コンポーネントを処理するクラスとインタフェースを提供します。
-
java.awtでのFocusEventの使用
修飾子と型メソッド説明void
AWTEventMulticaster.focusGained
(FocusEvent e) listener-aとlistener-bでfocusGainedメソッドを呼び出すことによって、focusGainedイベントを処理します。void
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusGained
(FocusEvent event) void
AWTEventMulticaster.focusLost
(FocusEvent e) listener-aとlistener-bでfocusLostメソッドを呼び出すことによって、focusLostイベントを処理します。void
Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusLost
(FocusEvent event) protected void
Component.processFocusEvent
(FocusEvent e) このコンポーネントで発生するフォーカス・イベントを、登録されているFocusListener
オブジェクトにディスパッチすることによって処理します。 -
java.awt.eventでのFocusEventの使用
修飾子と型メソッド説明void
FocusAdapter.focusGained
(FocusEvent e) コンポーネントがキーボード・フォーカスを取得すると呼び出されます。void
FocusListener.focusGained
(FocusEvent e) コンポーネントがキーボード・フォーカスを取得すると呼び出されます。void
FocusAdapter.focusLost
(FocusEvent e) コンポーネントがキーボード・フォーカスを失うと呼び出されます。void
FocusListener.focusLost
(FocusEvent e) コンポーネントがキーボード・フォーカスを失うと呼び出されます。 -
javax.swingでのFocusEventの使用
修飾子と型メソッド説明void
JComponent.AccessibleJComponent.AccessibleFocusHandler.focusGained
(FocusEvent event) 非推奨。void
JComponent.AccessibleJComponent.AccessibleFocusHandler.focusLost
(FocusEvent event) 非推奨。protected void
JFormattedTextField.processFocusEvent
(FocusEvent e) FocusEvent.FOCUS_GAINED
やFocusEvent.FOCUS_LOST
などのフォーカス・イベントを処理します。 -
javax.swing.plafでのFocusEventの使用
修飾子と型メソッド説明protected void
LayerUI.processFocusEvent
(FocusEvent e, JLayer<? extends V> l) JLayer
またはすべてのそのサブコンポーネントで発生するフォーカス・イベントを処理します。 -
javax.swing.plaf.basicでのFocusEventの使用
修飾子と型メソッド説明void
BasicButtonListener.focusGained
(FocusEvent e) void
BasicComboBoxEditor.focusGained
(FocusEvent e) void
BasicComboBoxUI.FocusHandler.focusGained
(FocusEvent e) void
BasicListUI.FocusHandler.focusGained
(FocusEvent e) void
BasicSliderUI.FocusHandler.focusGained
(FocusEvent e) void
BasicTableUI.FocusHandler.focusGained
(FocusEvent e) void
BasicToolBarUI.ToolBarFocusListener.focusGained
(FocusEvent e) void
BasicTreeUI.FocusHandler.focusGained
(FocusEvent e) 現在のツリー内でフォーカスがアクティブになったときに呼び出され、リード行を再描画します。void
BasicButtonListener.focusLost
(FocusEvent e) void
BasicComboBoxEditor.focusLost
(FocusEvent e) void
BasicComboBoxUI.FocusHandler.focusLost
(FocusEvent e) void
BasicListUI.FocusHandler.focusLost
(FocusEvent e) void
BasicSliderUI.FocusHandler.focusLost
(FocusEvent e) void
BasicTableUI.FocusHandler.focusLost
(FocusEvent e) void
BasicToolBarUI.ToolBarFocusListener.focusLost
(FocusEvent e) void
BasicTreeUI.FocusHandler.focusLost
(FocusEvent e) 現在のツリー内でフォーカスがアクティブになったときに呼び出され、リード行を再描画します。 -
javax.swing.textでのFocusEventの使用
修飾子と型メソッド説明void
DefaultCaret.focusGained
(FocusEvent e) キャレットを含むコンポーネントがフォーカスを取得したときに呼び出されます。void
DefaultCaret.focusLost
(FocusEvent e) キャレットを含むコンポーネントがフォーカスを失ったときに呼び出されます。