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

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

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

revision 1733 by iliev, Wed Apr 30 23:31:08 2008 UTC revision 1734 by iliev, Sun May 4 18:40:13 2008 UTC
# Line 22  Line 22 
22    
23  package org.jsampler.view.fantasia;  package org.jsampler.view.fantasia;
24    
25    import java.awt.event.MouseListener;
26    
27  import javax.swing.JComponent;  import javax.swing.JComponent;
28    
29  /**  /**
# Line 29  import javax.swing.JComponent; Line 31  import javax.swing.JComponent;
31   * @author Grigor Iliev   * @author Grigor Iliev
32   */   */
33  public interface ChannelView {  public interface ChannelView {
34            enum Type { SMALL, NORMAL }
35            
36            /** Determines the type of the view. */
37            public Type getType();
38            
39          public JComponent getComponent();          public JComponent getComponent();
40                    
41          /** Configures the view. */          /** Configures the view. */
# Line 59  public interface ChannelView { Line 66  public interface ChannelView {
66          public void updateVoiceCount(int count);          public void updateVoiceCount(int count);
67                    
68          public void expandChannel();          public void expandChannel();
69            
70            /** Determines whether the <code>Options</code> button is selected. */
71            public boolean isOptionsButtonSelected();
72            
73            /** Sets whether the <code>Options</code> button should be selected or not. */
74            public void setOptionsButtonSelected(boolean b);
75            
76            /**
77             * Registers the specified listener to listen on the component
78             * and some of its children.
79             */
80            public void addEnhancedMouseListener(MouseListener l);
81            
82            /**  Removes the specified listener. */
83            public void removeEnhancedMouseListener(MouseListener l);
84            
85  }  }

Legend:
Removed from v.1733  
changed lines
  Added in v.1734

  ViewVC Help
Powered by ViewVC