fi.jyu.mit.Music
Class Note.Delay

java.lang.Object
  extended by fi.jyu.mit.Music.Note
      extended by fi.jyu.mit.Music.Note.Delay
Enclosing class:
Note

public static class Note.Delay
extends Note

Taukoa kuvaava nuotti

Version:
13.11.2010
Author:
vesal

Nested Class Summary
 
Nested classes/interfaces inherited from class fi.jyu.mit.Music.Note
Note.Delay
 
Field Summary
 
Fields inherited from class fi.jyu.mit.Music.Note
DELAY
 
Constructor Summary
Note.Delay(int length)
          Muodotetaan uusi tauko
 
Method Summary
 void setNote(int note)
          Ei tee mitään tauko-luokassa
 
Methods inherited from class fi.jyu.mit.Music.Note
getLength, getNote, getVelocity, isDelay, message, message, setLength, setVelocity, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Note.Delay

public Note.Delay(int length)
Muodotetaan uusi tauko

Parameters:
length -
Example:
    Note n = new Note.Delay(200);
    n.isDelay() === true;
    n.getLength() === 200;
 
Method Detail

setNote

public void setNote(int note)
Ei tee mitään tauko-luokassa

Overrides:
setNote in class Note
Parameters:
note - MIDI-nuotin arvo (21-108)
Example:
    Note n = new Note.Delay(200);
    n.setNote(60);
    n.isDelay() === true;