KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > schlichtherle > swing > event > PanelListener


1 /*
2  * PanelListener.java
3  *
4  * Created on 21. Februar 2006, 11:33
5  */

6 /*
7  * Copyright 2006 Schlichtherle IT Services
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */

21
22 package de.schlichtherle.swing.event;
23
24 import java.util.EventListener JavaDoc;
25
26 /**
27  * Used to notify listeners of an {@link de.schlichtherle.swing.EnhancedPanel}
28  * that its ancestor window is shown or hidden.
29  *
30  * @author Christian Schlichtherle
31  * @version @version@
32  * @since TrueZIP 5.1
33  */

34 public interface PanelListener extends EventListener JavaDoc {
35     
36     /**
37      * Invoked when the ancestor window of an
38      * {@link de.schlichtherle.swing.EnhancedPanel} is shown.
39      */

40     void ancestorWindowShown(PanelEvent evt);
41
42     /**
43      * Invoked when the ancestor window of an
44      * {@link de.schlichtherle.swing.EnhancedPanel} is hidden.
45      */

46     void ancestorWindowHidden(PanelEvent evt);
47 }
48
Popular Tags