80 |
/** Property representing the channel view to be used when creating a sampler channel. */ |
/** Property representing the channel view to be used when creating a sampler channel. */ |
81 |
public final static String DEFAULT_CHANNEL_VIEW = "defaultChannelView"; |
public final static String DEFAULT_CHANNEL_VIEW = "defaultChannelView"; |
82 |
|
|
83 |
|
/** |
84 |
|
* Property which specifies whether a different sampler channel view should be shown |
85 |
|
* when the mouse cursor is over a sampler channel. |
86 |
|
*/ |
87 |
|
public final static String DIFFERENT_CHANNEL_VIEW_ON_MOUSE_OVER = "differentChannelViewOnMO"; |
88 |
|
|
89 |
|
/** |
90 |
|
* Property representing the channel view to be used when |
91 |
|
* the mouse cursor is over a sampler channel. |
92 |
|
*/ |
93 |
|
public final static String CHANNEL_VIEW_ON_MOUSE_OVER = "channelViewOnMouseOver"; |
94 |
|
|
95 |
|
|
96 |
/** |
/** |
97 |
* Creates a new instance of <code>StdPrefs</code>. |
* Creates a new instance of <code>StdPrefs</code>. |
124 |
if(name == MAXIMUM_CHANNEL_VOLUME) return 100; |
if(name == MAXIMUM_CHANNEL_VOLUME) return 100; |
125 |
if(name == INSTRUMENTS_DB_FRAME_SORT_ORDER) return 1; |
if(name == INSTRUMENTS_DB_FRAME_SORT_ORDER) return 1; |
126 |
if(name == DEFAULT_CHANNEL_VIEW) return 1; |
if(name == DEFAULT_CHANNEL_VIEW) return 1; |
127 |
|
if(name == CHANNEL_VIEW_ON_MOUSE_OVER) return 1; |
128 |
|
|
129 |
return super.getDefaultIntValue(name); |
return super.getDefaultIntValue(name); |
130 |
} |
} |
131 |
|
|
132 |
public boolean |
public boolean |
133 |
getDefaultBoolValue(String name) { |
getDefaultBoolValue(String name) { |
134 |
|
if(name == DIFFERENT_CHANNEL_VIEW_ON_MOUSE_OVER) return true; |
135 |
if(name == CONFIRM_CHANNEL_REMOVAL) return true; |
if(name == CONFIRM_CHANNEL_REMOVAL) return true; |
136 |
if(name == CONFIRM_DEVICE_REMOVAL) return true; |
if(name == CONFIRM_DEVICE_REMOVAL) return true; |
137 |
if(name == CONFIRM_APP_QUIT) return true; |
if(name == CONFIRM_APP_QUIT) return true; |