org.herac.tuxguitar.gui.transport
Class TGTransport
java.lang.Object
org.herac.tuxguitar.gui.transport.TGTransport
- All Implemented Interfaces:
- IconLoader, LanguageLoader
public class TGTransport
- extends java.lang.Object
- implements IconLoader, LanguageLoader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATUS_STOPPED
public static final int STATUS_STOPPED
- See Also:
- Constant Field Values
STATUS_PAUSED
public static final int STATUS_PAUSED
- See Also:
- Constant Field Values
STATUS_RUNNING
public static final int STATUS_RUNNING
- See Also:
- Constant Field Values
dialog
protected Shell dialog
label
protected Label label
tickProgress
protected ProgressBar tickProgress
metronome
protected Button metronome
mode
protected Button mode
toolBar
protected ToolBar toolBar
first
protected ToolItem first
last
protected ToolItem last
previous
protected ToolItem previous
next
protected ToolItem next
stop
protected ToolItem stop
play
protected ToolItem play
editingTickScale
protected boolean editingTickScale
redrawTime
protected long redrawTime
status
protected int status
position
protected int position
TGTransport
public TGTransport()
show
public void show()
updateProgressBar
protected void updateProgressBar(int x)
getStatus
public int getStatus()
setStatus
public void setStatus(int status)
updateItems
public void updateItems()
updateItems
public void updateItems(boolean force)
loadProperties
public void loadProperties()
- Specified by:
loadProperties
in interface LanguageLoader
loadPlayText
public void loadPlayText()
loadIcons
public void loadIcons()
- Specified by:
loadIcons
in interface IconLoader
dispose
public void dispose()
isDisposed
public boolean isDisposed()
isEditingTickScale
public boolean isEditingTickScale()
setEditingTickScale
public void setEditingTickScale(boolean editingTickScale)
getSongManager
protected TGSongManager getSongManager()
gotoFirst
public void gotoFirst()
gotoLast
public void gotoLast()
gotoNext
public void gotoNext()
gotoPrevious
public void gotoPrevious()
gotoMeasure
public void gotoMeasure(TGMeasureHeader header)
gotoMeasure
protected void gotoMeasure(TGMeasureHeader header,
boolean moveCaret)
play
public void play(TypedEvent e)
stop
public void stop(TypedEvent e)
redraw
public void redraw()
redrawPlayingMode
public void redrawPlayingMode()