KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > oddjob > structural > StructuralListener


1 package org.oddjob.structural;
2
3 /**
4  * A class which implements this interface is able to receive structural events.
5  *
6  * @author Rob Gordon
7  */

8
9 public interface StructuralListener {
10
11     /**
12      * Called when a child is added to a Structural object.
13      *
14      * @param event The strucural event.
15      */

16     public void childAdded(StructuralEvent event);
17     
18     /**
19      * Called when a child is removed from a Strucutral object.
20      *
21      * @param event The strucutral event.
22      */

23     public void childRemoved(StructuralEvent event);
24 }
25
Popular Tags