org.herac.tuxguitar.gui.actions

Class Action

public abstract class Action extends Object implements SelectionListener, MouseListener, MenuListener, DisposeListener

Constructor Summary
Action(String name, boolean editableKeyBinding, TablatureEditor tablatureEditor)
Action(String name, TablatureEditor tablatureEditor)
Method Summary
protected abstract booleandoAction(TypedEvent e)
protected voidfireUpdate(int measureNumber, boolean isNew)
protected voidfireUpdate(int measureNumber)
protected TablatureEditorgetEditor()
protected TypedEventgetLastEvent()
StringgetName()
protected SongManagergetSongManager()
booleanisEditableKeyBinding()
voidmenuHidden(MenuEvent e)
voidmenuShown(MenuEvent e)
voidmouseDoubleClick(MouseEvent e)
voidmouseDown(MouseEvent e)
voidmouseUp(MouseEvent e)
voidprocess(TypedEvent e)
protected voidredraw()
protected voidupdateTablature()
voidwidgetDefaultSelected(SelectionEvent e)
voidwidgetDisposed(DisposeEvent e)
voidwidgetSelected(SelectionEvent e)

Constructor Detail

Action

public Action(String name, boolean editableKeyBinding, TablatureEditor tablatureEditor)

Action

public Action(String name, TablatureEditor tablatureEditor)

Method Detail

doAction

protected abstract boolean doAction(TypedEvent e)

fireUpdate

protected void fireUpdate(int measureNumber, boolean isNew)

fireUpdate

protected void fireUpdate(int measureNumber)

getEditor

protected TablatureEditor getEditor()

getLastEvent

protected TypedEvent getLastEvent()

getName

public String getName()

getSongManager

protected SongManager getSongManager()

isEditableKeyBinding

public boolean isEditableKeyBinding()

menuHidden

public void menuHidden(MenuEvent e)

menuShown

public void menuShown(MenuEvent e)

mouseDoubleClick

public void mouseDoubleClick(MouseEvent e)

mouseDown

public void mouseDown(MouseEvent e)

mouseUp

public void mouseUp(MouseEvent e)

process

public void process(TypedEvent e)

redraw

protected void redraw()

updateTablature

protected void updateTablature()

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

widgetDisposed

public void widgetDisposed(DisposeEvent e)

widgetSelected

public void widgetSelected(SelectionEvent e)