org.herac.tuxguitar.gui.actions.composition
Class ChangeTripletFeelAction

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.composition.ChangeTripletFeelAction

public class ChangeTripletFeelAction
extends Action


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class org.herac.tuxguitar.gui.actions.Action
AUTO_LOCK, AUTO_UNLOCK, AUTO_UPDATE, DISABLE_ON_PLAYING, KEY_BINDING_AVAILABLE
 
Constructor Summary
ChangeTripletFeelAction()
           
 
Method Summary
protected  int execute(TypedEvent e)
           
protected  int getSelectedTripletFeel(Button tripletFeelNone, Button tripletFeelEighth, Button tripletFeelSixteenth)
           
protected  void setTripletFeel(int tripletFeel, boolean toEnd)
           
 void showDialog(Shell shell)
           
 
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
Constructor Detail

ChangeTripletFeelAction

public ChangeTripletFeelAction()
Method Detail

execute

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

showDialog

public void showDialog(Shell shell)

getSelectedTripletFeel

protected int getSelectedTripletFeel(Button tripletFeelNone,
                                     Button tripletFeelEighth,
                                     Button tripletFeelSixteenth)

setTripletFeel

protected void setTripletFeel(int tripletFeel,
                              boolean toEnd)