インタフェース
javax.swing.event.AncestorListenerの使用
-
AncestorListenerを使用しているパッケージ パッケージ 説明 com.sun.java.accessibility.util Java Accessibility Utilitiesを構成するインタフェースとクラスの集合を提供します。javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。 -
-
com.sun.java.accessibility.utilでのAncestorListenerの使用
型AncestorListenerのパラメータを持つcom.sun.java.accessibility.utilのメソッド 修飾子と型 メソッド 説明 static void
SwingEventMonitor. addAncestorListener(AncestorListener l)
Java仮想マシンの各コンポーネント・インスタンスのすべてのANCESTOR
イベントを、その発生時に受け取る指定のリスナーを追加します。static void
SwingEventMonitor. removeAncestorListener(AncestorListener l)
以後、ANCESTOR
イベントをその発生時に受け取らないように、指定されたリスナーを削除します。 -
javax.swingでのAncestorListenerの使用
AncestorListenerを返すjavax.swingのメソッド 修飾子と型 メソッド 説明 AncestorListener[]
JComponent. getAncestorListeners()
このコンポーネントに登録されているすべての祖先リスナーの配列を返します。AncestorListener型のパラメータを持つjavax.swingのメソッド 修飾子と型 メソッド 説明 void
JComponent. addAncestorListener(AncestorListener listener)
listener
を登録し、コンポーネントまたはその祖先が移動するか、あるいは可視または不可視になるときにそのリスナーがAncestorEvents
を受け取れるようにします。void
JComponent. removeAncestorListener(AncestorListener listener)
listener
の登録を解除し、そのリスナーがAncestorEvents
を受け取らないようにします。
-