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

Annotation of /jsampler/trunk/src/org/jsampler/view/classic/StandardBar.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1285 - (hide annotations) (download)
Fri Aug 10 19:55:03 2007 UTC (16 years, 9 months ago) by iliev
File size: 2043 byte(s)
* Updated to version 0.6a. The Fantasia distribution is now
  capable of controlling all features available in LinuxSampler

1 iliev 1144 /*
2     * JSampler - a java front-end for LinuxSampler
3     *
4     * Copyright (C) 2005-2006 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.classic;
24    
25     import javax.swing.JToolBar;
26    
27 iliev 1285 import static org.jsampler.view.classic.A4n.a4n;
28 iliev 1144 import static org.jsampler.view.classic.ClassicI18n.i18n;
29    
30    
31     /**
32     *
33     * @author Grigor Iliev
34     */
35     public class StandardBar extends JToolBar {
36     private final ToolbarButton btnLoadScript = new ToolbarButton(A4n.loadScript);
37 iliev 1285 private final ToolbarButton btnExportSession = new ToolbarButton(a4n.exportSamplerConfig);
38 iliev 1144 private final ToolbarButton btnSamplerInfo = new ToolbarButton(A4n.samplerInfo);
39 iliev 1285 private final ToolbarButton btnRefresh = new ToolbarButton(a4n.refresh);
40     private final ToolbarButton btnResetSampler = new ToolbarButton(a4n.resetSampler);
41 iliev 1204 private final ToolbarButton btnInstrumentsDb = new ToolbarButton(A4n.windowInstrumentsDb);
42 iliev 1144 private final ToolbarButton btnPreferences = new ToolbarButton(A4n.preferences);
43    
44    
45     /**
46     * Creates a new instance of StandardBar
47     */
48     public
49     StandardBar() {
50     super(i18n.getLabel("StandardBar.name"));
51    
52     setFloatable(false);
53     add(btnSamplerInfo);
54     addSeparator();
55     add(btnLoadScript);
56     add(btnExportSession);
57     add(btnRefresh);
58     add(btnResetSampler);
59     addSeparator();
60 iliev 1204 add(btnInstrumentsDb);
61     addSeparator();
62 iliev 1144 add(btnPreferences);
63     }
64    
65     }

  ViewVC Help
Powered by ViewVC