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

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

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

revision 1751 by iliev, Sat May 31 23:04:01 2008 UTC revision 1752 by iliev, Mon Aug 11 22:51:24 2008 UTC
# Line 24  package org.jsampler.view.fantasia; Line 24  package org.jsampler.view.fantasia;
24    
25  import java.awt.Container;  import java.awt.Container;
26  import java.awt.Cursor;  import java.awt.Cursor;
27    import java.awt.Dialog;
28  import java.awt.Frame;  import java.awt.Frame;
29  import java.awt.Graphics;  import java.awt.Graphics;
30  import java.awt.Graphics2D;  import java.awt.Graphics2D;
31  import java.awt.Insets;  import java.awt.Insets;
32    
33    import javax.swing.Action;
34  import javax.swing.BorderFactory;  import javax.swing.BorderFactory;
35  import javax.swing.JButton;  import javax.swing.JButton;
36  import javax.swing.JComboBox;  import javax.swing.JComboBox;
# Line 41  import javax.swing.plaf.basic.BasicButto Line 43  import javax.swing.plaf.basic.BasicButto
43  import javax.swing.plaf.basic.BasicLabelUI;  import javax.swing.plaf.basic.BasicLabelUI;
44  import javax.swing.plaf.basic.ComboPopup;  import javax.swing.plaf.basic.ComboPopup;
45    
46    import org.jsampler.view.InstrumentsDbTreeModel;
47    
48    import org.jsampler.view.std.JSDbInstrumentChooser;
49  import org.jsampler.view.std.JSInstrumentChooser;  import org.jsampler.view.std.JSInstrumentChooser;
50    import org.jsampler.view.std.JSInstrumentsDbTree;
51    
52  import org.jvnet.lafwidget.animation.FadeConfigurationManager;  import org.jvnet.lafwidget.animation.FadeConfigurationManager;
53  import org.jvnet.lafwidget.animation.FadeKind;  import org.jvnet.lafwidget.animation.FadeKind;
# Line 83  public class FantasiaUtils { Line 89  public class FantasiaUtils {
89                                    
90                  protected JComboBox                  protected JComboBox
91                  createComboBox() { return createEnhancedComboBox(); }                  createComboBox() { return createEnhancedComboBox(); }
92            
93                    protected JSDbInstrumentChooser
94                    createDbInstrumentChooser(Dialog owner) {
95                            return new DbInstrumentChooser(owner);
96                    }
97            }
98            
99            private static class DbInstrumentChooser extends JSDbInstrumentChooser {
100                    DbInstrumentChooser(Dialog owner) {
101                            super(owner);
102                    }
103                    
104                    protected JButton
105                    createToolbarButton(Action a) { return new ToolbarButton(a); }
106                    
107                    protected JSInstrumentsDbTree
108                    createInstrumentsDbTree(InstrumentsDbTreeModel m) {
109                            return new FantasiaInstrumentsDbTree(m);
110                    }
111          }          }
112                    
113          private static class ScreenLabel extends JLabel {          private static class ScreenLabel extends JLabel {

Legend:
Removed from v.1751  
changed lines
  Added in v.1752

  ViewVC Help
Powered by ViewVC