35 |
* @author Grigor Iliev |
* @author Grigor Iliev |
36 |
*/ |
*/ |
37 |
public class JSPrefs extends PropertyChangeSupport { |
public class JSPrefs extends PropertyChangeSupport { |
38 |
|
/** |
39 |
|
* Property which specifies whether to apply default |
40 |
|
* actions to newly created sampler channels. |
41 |
|
*/ |
42 |
|
public final static String USE_CHANNEL_DEFAULTS = "samplerChannel.useDefaultActions"; |
43 |
|
|
44 |
|
/** |
45 |
|
* Property representing the default engine to be used when |
46 |
|
* new sampler channel is created. The action is taken only if |
47 |
|
* <code>USE_CHANNEL_DEFAULTS</code> is <code>true</code>. |
48 |
|
*/ |
49 |
|
public final static String DEFAULT_ENGINE = "defaultEngine"; |
50 |
|
|
51 |
|
/** |
52 |
|
* Property representing the default MIDI input to be used when |
53 |
|
* new sampler channel is created. The action is taken only if |
54 |
|
* <code>USE_CHANNEL_DEFAULTS</code> is <code>true</code>. |
55 |
|
*/ |
56 |
|
public final static String DEFAULT_MIDI_INPUT = "defaultMidiInput"; |
57 |
|
|
58 |
|
/** |
59 |
|
* Property representing the default audio output to be used when |
60 |
|
* new sampler channel is created. The action is taken only if |
61 |
|
* <code>USE_CHANNEL_DEFAULTS</code> is <code>true</code>. |
62 |
|
*/ |
63 |
|
public final static String DEFAULT_AUDIO_OUTPUT = "defaultAudioOutput"; |
64 |
|
|
65 |
|
|
66 |
private final String pathName; |
private final String pathName; |
67 |
private final Preferences userPrefs; |
private final Preferences userPrefs; |
68 |
|
|