インタフェース
javax.swing.event.PopupMenuListenerの使用
-
PopupMenuListenerを使用しているパッケージ パッケージ 説明 com.sun.java.accessibility.util Java Accessibility Utilitiesを構成するインタフェースとクラスの集合を提供します。javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する軽量(Java共通言語)コンポーネントのセットを提供します。 -
-
com.sun.java.accessibility.utilでのPopupMenuListenerの使用
型PopupMenuListenerのパラメータを持つcom.sun.java.accessibility.utilのメソッド 修飾子と型 メソッド 説明 static void
SwingEventMonitor. addPopupMenuListener(PopupMenuListener l)
Java仮想マシンの各コンポーネント・インスタンスのすべてのPOPUPMENU
イベントを、その発生時に受け取る指定のリスナーを追加します。static void
SwingEventMonitor. removePopupMenuListener(PopupMenuListener l)
以後、POPUPMENU
イベントをその発生時に受け取らないように、指定されたリスナーを削除します。 -
javax.swingでのPopupMenuListenerの使用
PopupMenuListenerを返すjavax.swingのメソッド 修飾子と型 メソッド 説明 PopupMenuListener[]
JComboBox. getPopupMenuListeners()
addPopupMenuListener()でこのJComboBoxに追加される、すべてのPopupMenuListener
の配列を返します。PopupMenuListener[]
JPopupMenu. getPopupMenuListeners()
addPopupMenuListener()を使用してこのJMenuItemに追加されたすべてのPopupMenuListener
の配列を返します。PopupMenuListener型のパラメータを持つjavax.swingのメソッド 修飾子と型 メソッド 説明 void
JComboBox. addPopupMenuListener(PopupMenuListener l)
コンボボックスのポップアップから通知メッセージを受け取るPopupMenu
リスナーを追加します。void
JPopupMenu. addPopupMenuListener(PopupMenuListener l)
PopupMenu
リスナーを追加します。void
JComboBox. removePopupMenuListener(PopupMenuListener l)
PopupMenuListener
を削除します。void
JPopupMenu. removePopupMenuListener(PopupMenuListener l)
PopupMenu
リスナーを削除します。
-