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

Diff of /jsampler/trunk/src/org/jsampler/view/std/StdPrefs.java

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

revision 1733 by iliev, Sat May 3 01:40:06 2008 UTC revision 1734 by iliev, Sun May 4 18:40:13 2008 UTC
# Line 80  public class StdPrefs extends JSPrefs { Line 80  public class StdPrefs extends JSPrefs {
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>.
# Line 112  public class StdPrefs extends JSPrefs { Line 124  public class StdPrefs extends JSPrefs {
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;

Legend:
Removed from v.1733  
changed lines
  Added in v.1734

  ViewVC Help
Powered by ViewVC