org.herac.tuxguitar.player.base
Class MidiPlayerMode

java.lang.Object
  extended by org.herac.tuxguitar.player.base.MidiPlayerMode

public class MidiPlayerMode
extends java.lang.Object


Field Summary
static int DEFAULT_TEMPO_PERCENT
           
static int TYPE_CUSTOM
           
static int TYPE_SINGLE
           
 
Constructor Summary
MidiPlayerMode()
           
 
Method Summary
 int getCurrentPercent()
           
 int getCustomPercentFrom()
           
 int getCustomPercentIncrement()
           
 int getCustomPercentTo()
           
 int getSinglePercent()
           
 int getType()
           
 boolean isLoop()
           
 void notifyLoop()
           
 void reset()
           
 void setCustomPercentFrom(int customPercentFrom)
           
 void setCustomPercentIncrement(int customPercentIncrement)
           
 void setCustomPercentTo(int customPercentTo)
           
 void setLoop(boolean loop)
           
 void setSinglePercent(int singlePercent)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TEMPO_PERCENT

public static final int DEFAULT_TEMPO_PERCENT
See Also:
Constant Field Values

TYPE_SINGLE

public static final int TYPE_SINGLE
See Also:
Constant Field Values

TYPE_CUSTOM

public static final int TYPE_CUSTOM
See Also:
Constant Field Values
Constructor Detail

MidiPlayerMode

public MidiPlayerMode()
Method Detail

reset

public void reset()

notifyLoop

public void notifyLoop()

getCurrentPercent

public int getCurrentPercent()

isLoop

public boolean isLoop()

setLoop

public void setLoop(boolean loop)

getType

public int getType()

setType

public void setType(int type)

getCustomPercentFrom

public int getCustomPercentFrom()

setCustomPercentFrom

public void setCustomPercentFrom(int customPercentFrom)

getCustomPercentIncrement

public int getCustomPercentIncrement()

setCustomPercentIncrement

public void setCustomPercentIncrement(int customPercentIncrement)

getCustomPercentTo

public int getCustomPercentTo()

setCustomPercentTo

public void setCustomPercentTo(int customPercentTo)

getSinglePercent

public int getSinglePercent()

setSinglePercent

public void setSinglePercent(int singlePercent)