1
package org.herac.tuxguitar.io.tef.base;
3
public class TEComponentNote extends TEComponent{
13
public TEComponentNote(int position,int measure, int string, int fret, int duration, int dynamic, int effect) {
14
super(position, measure, string);
16
this.duration = duration;
17
this.dynamic = dynamic;
21
public int getDuration() {
25
public int getDynamic() {
29
public int getEffect() {
33
public int getFret() {
37
public String toString(){
38
String string = new String("[NOTE]");
39
string += "\n Measure: " + getMeasure();
40
string += "\n Position: " + getPosition();
41
string += "\n String: " + getString();
42
string += "\n Fret: " + getFret();