01: /*
02: * Jacareto Copyright (c) 2002-2005
03: * Applied Computer Science Research Group, Darmstadt University of
04: * Technology, Institute of Mathematics & Computer Science,
05: * Ludwigsburg University of Education, and Computer Based
06: * Learning Research Group, Aachen University. All rights reserved.
07: *
08: * Jacareto is free software; you can redistribute it and/or
09: * modify it under the terms of the GNU General Public
10: * License as published by the Free Software Foundation; either
11: * version 2 of the License, or (at your option) any later version.
12: *
13: * Jacareto is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: * General Public License for more details.
17: *
18: * You should have received a copy of the GNU General Public
19: * License along with Jacareto; if not, write to the Free
20: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21: *
22: */
23:
24: package jacareto.track;
25:
26: import java.util.EventListener;
27:
28: /**
29: * <p>
30: * Listener which listens to a {@link jacareto.track.TrackModelEvent}
31: * </p>
32: *
33: * @author Oliver Specht
34: * @version $revision$
35: */
36: public interface TrackModelListener extends EventListener {
37: /**
38: * Called when the track model has changed in more than one block, so reinitialization has to
39: * be done.
40: *
41: * @param event DOCUMENT ME!
42: */
43: void trackModelChanged(TrackModelEvent event);
44:
45: /**
46: * Called when the time properties of a block in the {@link TrackModel} have changed
47: *
48: * @param event {@link TrackModelEvent}
49: */
50: void blockTimeChanged(TrackModelEvent event);
51:
52: /**
53: * Called when the alignment of a block has changed
54: *
55: * @param event {@link TrackModelEvent}
56: */
57: void blockAlignmentChanged(TrackModelEvent event);
58:
59: /**
60: * Called when a block has been removed from the {@link TrackModel}
61: *
62: * @param event DOCUMENT ME!
63: */
64: void blockRemoved(TrackModelEvent event);
65:
66: /**
67: * Called when a block has been added to the {@link TrackModel}
68: *
69: * @param event TrackModelEvent
70: */
71: void blockAdded(TrackModelEvent event);
72: }
|