/[svn]/jsampler/trunk/src/org/jsampler/view/fantasia/ChannelView.java
ViewVC logotype

Annotation of /jsampler/trunk/src/org/jsampler/view/fantasia/ChannelView.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1730 - (hide annotations) (download)
Wed Apr 30 23:31:08 2008 UTC (16 years ago) by iliev
File size: 1743 byte(s)
* Implemented pluggable channel view
* Some UI changes due to some substance changes

1 iliev 1730 /*
2     * JSampler - a java front-end for LinuxSampler
3     *
4     * Copyright (C) 2005-2008 Grigor Iliev <grigor@grigoriliev.com>
5     *
6     * This file is part of JSampler.
7     *
8     * JSampler is free software; you can redistribute it and/or modify
9     * it under the terms of the GNU General Public License version 2
10     * as published by the Free Software Foundation.
11     *
12     * JSampler is distributed in the hope that it will be useful,
13     * but WITHOUT ANY WARRANTY; without even the implied warranty of
14     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15     * GNU General Public License for more details.
16     *
17     * You should have received a copy of the GNU General Public License
18     * along with JSampler; if not, write to the Free Software
19     * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20     * MA 02111-1307 USA
21     */
22    
23     package org.jsampler.view.fantasia;
24    
25     import javax.swing.JComponent;
26    
27     /**
28     *
29     * @author Grigor Iliev
30     */
31     public interface ChannelView {
32     public JComponent getComponent();
33    
34     /** Configures the view. */
35     public void installView();
36    
37     /** Reverses configuration which was done during <code>installView</code>. */
38     public void uninstallView();
39    
40     public ChannelOptionsView getChannelOptionsView();
41    
42     /**
43     * Updates the channel settings. This method is invoked when changes to the
44     * channel were made.
45     */
46     public void updateChannelInfo();
47    
48     /**
49     * Invoked when the number of active disk streams has changed.
50     * @param count The new number of active disk streams.
51     */
52     public void updateStreamCount(int count);
53    
54    
55     /**
56     * Invoked when the number of active voices has changed.
57     * @param count The new number of active voices.
58     */
59     public void updateVoiceCount(int count);
60    
61     public void expandChannel();
62     }

  ViewVC Help
Powered by ViewVC