1 /*
2 * Created on Oct 27, 2003
3 */
4 package portaview.model;
5
6
7
8 /***
9 * Implements a list for PortaView that can be observed.
10 * @author William Lee
11 */
12 public class PortaViewCollection extends ObservableCollection
13 {
14
15 /***
16 * Removes the PortaView and fire the event.
17 * @param pvm PortaView to remove.
18 */
19 public synchronized void removePortaView(PortaViewModel pvm)
20 {
21 remove(pvm);
22 }
23
24 /***
25 * Adds the PortaView and fire the event.
26 * @param pvm PortaView to add.
27 */
28 public synchronized void addPortaView(PortaViewModel pvm)
29 {
30 add(pvm);
31 }
32
33 }
This page was automatically generated by Maven