- java.lang.Object
-
- javax.swing.plaf.basic.BasicButtonListener
-
- すべての実装されたインタフェース:
FocusListener
,MouseListener
,MouseMotionListener
,PropertyChangeListener
,EventListener
,ChangeListener
public class BasicButtonListener extends Object implements MouseListener, MouseMotionListener, FocusListener, ChangeListener, PropertyChangeListener
ボタン・リスナー
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 BasicButtonListener(AbstractButton b)
BasicButtonListener
の新しいインスタンスを構築します。
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 protected void
checkOpacity(AbstractButton b)
AbstractButton
の不透明度をチェックします。void
installKeyboardActions(JComponent c)
デフォルト・キー・アクションを登録: スペースを押してボタンを"クリック"、キーボード・ニーモニック(もしあれば)を登録してください。void
uninstallKeyboardActions(JComponent c)
デフォルトのキー操作の登録を解除します。-
インタフェース javax.swing.event.ChangeListenerで宣言されたメソッド
stateChanged
-
インタフェース java.awt.event.FocusListenerで宣言されたメソッド
focusGained, focusLost
-
インタフェース java.awt.event.MouseListenerで宣言されたメソッド
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
-
インタフェース java.awt.event.MouseMotionListenerで宣言されたメソッド
mouseDragged, mouseMoved
-
クラス java.lang.Objectで宣言されたメソッド
clone、equals、finalize、getClass、hashCode、notify、notifyAll、toString、wait、wait、wait
-
インタフェース java.beans.PropertyChangeListenerで宣言されたメソッド
propertyChange
-
-
-
-
コンストラクタの詳細
-
BasicButtonListener
public BasicButtonListener(AbstractButton b)
BasicButtonListener
の新しいインスタンスを構築します。- パラメータ:
b
- 抽象的なボタン
-
-
メソッドの詳細
-
checkOpacity
protected void checkOpacity(AbstractButton b)
AbstractButton
の不透明度をチェックします。- パラメータ:
b
- 抽象的なボタン
-
installKeyboardActions
public void installKeyboardActions(JComponent c)
デフォルト・キー・アクションを登録: スペースを押してボタンを"クリック"、キーボード・ニーモニック(もしあれば)を登録してください。- パラメータ:
c
- コンポーネント
-
uninstallKeyboardActions
public void uninstallKeyboardActions(JComponent c)
デフォルトのキー操作の登録を解除します。- パラメータ:
c
- コンポーネント
-
-