クラス
javax.swing.event.AncestorEventの使用
-
AncestorEventを使用しているパッケージ パッケージ 説明 javax.swing.event Swingコンポーネントによってトリガーされるイベントを提供します。 -
-
javax.swing.eventでのAncestorEventの使用
AncestorEvent型のパラメータを持つjavax.swing.eventのメソッド 修飾子と型 メソッド 説明 void
AncestorListener. ancestorAdded(AncestorEvent event)
setVisible(true)が呼び出されるか、あるいはコンポーネント階層に追加されることによって、ソースまたはその祖先の1つが可視にされたときに呼び出されます。void
AncestorListener. ancestorMoved(AncestorEvent event)
ソースまたはその祖先の1つが移動したときに呼び出されます。void
AncestorListener. ancestorRemoved(AncestorEvent event)
setVisible(false)が呼び出されるか、コンポーネント階層から削除されることによって、ソースまたはその祖先のいずれかが非表示になったときに呼び出されます。
-