org.herac.tuxguitar.song.models

Class Note

public class Note extends Object implements Component, Serializable

Constructor Summary
Note(int value, long start, Duration duration, int velocity, int string, boolean tiedNote, NoteEffect effect)
Method Summary
Objectclone()
DurationgetDuration()
NoteEffectgetEffect()
longgetStart()
longgetStartWithRepetitions()
intgetString()
intgetValue()
intgetVelocity()
booleanisTiedNote()
voidsetDuration(Duration duration)
voidsetEffect(NoteEffect effect)
voidsetStart(long start)
voidsetStartWithRepetitions(long startWithRepetitions)
voidsetString(int string)
voidsetTiedNote(boolean tiedNote)
voidsetValue(int value)
voidsetVelocity(int velocity)

Constructor Detail

Note

public Note(int value, long start, Duration duration, int velocity, int string, boolean tiedNote, NoteEffect effect)

Method Detail

clone

public Object clone()

getDuration

public Duration getDuration()

getEffect

public NoteEffect getEffect()

getStart

public long getStart()

getStartWithRepetitions

public long getStartWithRepetitions()

getString

public int getString()

getValue

public int getValue()

getVelocity

public int getVelocity()

isTiedNote

public boolean isTiedNote()

setDuration

public void setDuration(Duration duration)

setEffect

public void setEffect(NoteEffect effect)

setStart

public void setStart(long start)

setStartWithRepetitions

public void setStartWithRepetitions(long startWithRepetitions)

setString

public void setString(int string)

setTiedNote

public void setTiedNote(boolean tiedNote)

setValue

public void setValue(int value)

setVelocity

public void setVelocity(int velocity)