/[svn]/jsampler/trunk/src/org/jsampler/OrchestraListModel.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/OrchestraListModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1142 by iliev, Mon Aug 7 18:34:40 2006 UTC revision 1143 by iliev, Mon Apr 2 21:18:31 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *   JSampler - a java front-end for LinuxSampler   *   JSampler - a java front-end for LinuxSampler
3   *   *
4   *   Copyright (C) 2005, 2006 Grigor Kirilov Iliev   *   Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 22  Line 22 
22    
23  package org.jsampler;  package org.jsampler;
24    
25  import org.jsampler.event.OrchestraListListener;  import org.jsampler.event.ListListener;
26    
27  import org.w3c.dom.Document;  import org.w3c.dom.Document;
28  import org.w3c.dom.Node;  import org.w3c.dom.Node;
# Line 37  public interface OrchestraListModel { Line 37  public interface OrchestraListModel {
37           * Registers the specified listener for receiving event messages.           * Registers the specified listener for receiving event messages.
38           * @param l The <code>OrchestraListListener</code> to register.           * @param l The <code>OrchestraListListener</code> to register.
39           */           */
40          public void addOrchestraListListener(OrchestraListListener l);          public void addOrchestraListListener(ListListener<OrchestraModel> l);
41                    
42          /**          /**
43           * Removes the specified listener.           * Removes the specified listener.
44           * @param l The <code>OrchestraListListener</code> to remove.           * @param l The <code>OrchestraListListener</code> to remove.
45           */           */
46          public void removeOrchestraListListener(OrchestraListListener l);          public void removeOrchestraListListener(ListListener<OrchestraModel> l);
47                    
48          /**          /**
49           * Gets the current number of orchestras in the list.           * Gets the current number of orchestras in the list.
# Line 88  public interface OrchestraListModel { Line 88  public interface OrchestraListModel {
88           */           */
89          public boolean removeOrchestra(OrchestraModel orchestraModel);          public boolean removeOrchestra(OrchestraModel orchestraModel);
90                    
91            /** Removes all orchestras from the list. */
92            public void removeAllOrchestras();
93            
94          /**          /**
95           * Gets the position of the specified orchestra in this orchestra list.           * Gets the position of the specified orchestra in this orchestra list.
96           * @param orchestra The orchestra whose index should be returned.           * @param orchestra The orchestra whose index should be returned.

Legend:
Removed from v.1142  
changed lines
  Added in v.1143

  ViewVC Help
Powered by ViewVC