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

Diff of /jsampler/trunk/src/org/jsampler/view/JSMainFrame.java

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

revision 1143 by iliev, Mon Apr 2 21:18:31 2007 UTC revision 1688 by iliev, Thu Feb 14 16:52:36 2008 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 Iliev <grigor@grigoriliev.com>   *   Copyright (C) 2005-2007 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.view;  package org.jsampler.view;
24    
25    import java.awt.Dialog;
26  import java.awt.Dimension;  import java.awt.Dimension;
27    import java.awt.Frame;
28    
29  import java.awt.event.WindowAdapter;  import java.awt.event.WindowAdapter;
30  import java.awt.event.WindowEvent;  import java.awt.event.WindowEvent;
# Line 35  import javax.swing.JFrame; Line 37  import javax.swing.JFrame;
37  import org.jsampler.CC;  import org.jsampler.CC;
38  import org.jsampler.JSampler;  import org.jsampler.JSampler;
39  import org.jsampler.Prefs;  import org.jsampler.Prefs;
40    import org.jsampler.Server;
41    
42  import org.jsampler.event.SamplerChannelListEvent;  import org.jsampler.event.SamplerChannelListEvent;
43  import org.jsampler.event.SamplerChannelListListener;  import org.jsampler.event.SamplerChannelListListener;
44    
45    
46  /**  /**
47   * Defines the skeleton of a JSampler's main frame.   * Defines the skeleton of a JSampler's main frame.
48   * @author Grigor Iliev   * @author Grigor Iliev
# Line 82  public abstract class JSMainFrame extend Line 86  public abstract class JSMainFrame extend
86          public abstract void installJSamplerHome();          public abstract void installJSamplerHome();
87                    
88          /**          /**
89             * Shows a detailed error information about the specified exception.
90             */
91            public abstract void showDetailedErrorMessage(Frame owner, String err, String details);
92            
93            /**
94             * Shows a detailed error information about the specified exception.
95             */
96            public abstract void showDetailedErrorMessage(Dialog owner, String err, String details);
97            
98            /**
99           * Returns a list containing all <code>JSChannelsPane</code>s added to the view.           * Returns a list containing all <code>JSChannelsPane</code>s added to the view.
100           * @return A list containing all <code>JSChannelsPane</code>s added to the view.           * @return A list containing all <code>JSChannelsPane</code>s added to the view.
101           * @see #addChannelsPane           * @see #addChannelsPane
# Line 145  public abstract class JSMainFrame extend Line 159  public abstract class JSMainFrame extend
159          public abstract JSChannelsPane getSelectedChannelsPane();          public abstract JSChannelsPane getSelectedChannelsPane();
160                    
161          /**          /**
162             * Gets the server address to which to connect. If the server should be
163             * manually selected, a dialog asking the user to choose a server is displayed.
164             */
165            public abstract Server getServer();
166            
167            /**
168             * Gets the server address to which to connect. If the server should be
169             * manually selected, a dialog asking the user to choose a server is displayed.
170             * @param manualSelect Determines whether the server should be manually selected.
171             */
172            public abstract Server getServer(boolean manualSelect);
173            
174            /**
175           * Sets the <code>JSChannelsPane</code> to be selected.           * Sets the <code>JSChannelsPane</code> to be selected.
176           * @param pane The <code>JSChannelsPane</code> to be shown.           * @param pane The <code>JSChannelsPane</code> to be shown.
177           */           */

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

  ViewVC Help
Powered by ViewVC