/[svn]/jlscp/trunk/src/org/linuxsampler/lscp/event/MidiDataEvent.java
ViewVC logotype

Diff of /jlscp/trunk/src/org/linuxsampler/lscp/event/MidiDataEvent.java

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

revision 1774 by iliev, Mon Sep 8 00:16:17 2008 UTC revision 1775 by iliev, Thu Sep 11 18:18:21 2008 UTC
# Line 27  package org.linuxsampler.lscp.event; Line 27  package org.linuxsampler.lscp.event;
27   * @author Grigor Iliev   * @author Grigor Iliev
28   */   */
29  public class MidiDataEvent extends java.util.EventObject {  public class MidiDataEvent extends java.util.EventObject {
30          public static enum Type { NOTE_ON, NOTE_OFF }          public static enum Type {
31                    NOTE_ON  ("NOTE_ON"),
32                    NOTE_OFF ("NOTE_OFF");
33                    
34                    private final String name;
35                    
36                    Type(String name) {
37                            this.name = name;
38                    }
39                    
40                    public String
41                    toString() { return name; }
42            }
43                    
44          private Type type;          private Type type;
45          private int note;          private int note;

Legend:
Removed from v.1774  
changed lines
  Added in v.1775

  ViewVC Help
Powered by ViewVC