org.herac.tuxguitar.gui.actions.transport
Class TransportModeAction

java.lang.Object
  extended by org.herac.tuxguitar.gui.actions.ActionAdapter
      extended by org.herac.tuxguitar.gui.actions.Action
          extended by org.herac.tuxguitar.gui.actions.transport.TransportModeAction

public class TransportModeAction
extends Action


Field Summary
protected  Button custom
           
protected  Spinner customFrom
           
protected  Spinner customIncrement
           
protected  Spinner customTo
           
protected static int[] DEFAULT_PERCENTS
           
protected static int MAX_SELECTION
           
protected static int MIN_SELECTION
           
static java.lang.String NAME
           
protected  Button single
           
protected  Button singleLoop
           
protected  Combo singlePercent
           
 
Fields inherited from class org.herac.tuxguitar.gui.actions.Action
AUTO_LOCK, AUTO_UNLOCK, AUTO_UPDATE, DISABLE_ON_PLAYING, KEY_BINDING_AVAILABLE
 
Constructor Summary
TransportModeAction()
           
 
Method Summary
protected  int execute(TypedEvent e)
           
 void showDialog(Shell parent, MidiPlayerMode mode)
           
protected  void updateMode(MidiPlayerMode mode)
           
 
Methods inherited from class org.herac.tuxguitar.gui.actions.Action
addUndoableEdit, fireUpdate, getEditor, getFlags, getName, getSongManager, isKeyBindingAvailable, process, updateTablature
 
Methods inherited from class org.herac.tuxguitar.gui.actions.ActionAdapter
menuHidden, menuShown, mouseDoubleClick, mouseDown, mouseUp, shellActivated, shellClosed, shellDeactivated, shellDeiconified, shellIconified, widgetDefaultSelected, widgetSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

MIN_SELECTION

protected static final int MIN_SELECTION
See Also:
Constant Field Values

MAX_SELECTION

protected static final int MAX_SELECTION
See Also:
Constant Field Values

DEFAULT_PERCENTS

protected static final int[] DEFAULT_PERCENTS

single

protected Button single

singleLoop

protected Button singleLoop

singlePercent

protected Combo singlePercent

custom

protected Button custom

customFrom

protected Spinner customFrom

customTo

protected Spinner customTo

customIncrement

protected Spinner customIncrement
Constructor Detail

TransportModeAction

public TransportModeAction()
Method Detail

execute

protected int execute(TypedEvent e)
Specified by:
execute in class Action

showDialog

public void showDialog(Shell parent,
                       MidiPlayerMode mode)

updateMode

protected void updateMode(MidiPlayerMode mode)