net.sourceforge.geeboss.view.statusline
Class StatusLine

java.lang.Object
  extended by net.sourceforge.geeboss.view.statusline.StatusLine

public class StatusLine
extends java.lang.Object

The status line at the bottom of Geeboss that shows the status of MIDI connections.


Constructor Summary
StatusLine(org.eclipse.swt.widgets.Display display, org.eclipse.swt.widgets.Shell shell, MainView geebossGui)
          Instantiate a new StatusLine
 
Method Summary
 void addEntireLoad(int loadcount)
          Add a number to the entireLoad value.
 void finishJob(MidiJob midiJob)
          The given Job has finished normally and was not interrupted by the user.
 void insertJob(MidiJob midiJob)
          This tells the status line that a new Job has been started.
 boolean isBusy()
          Check if Geeboss is currently busy with midi.
 void updateFonts()
           
 void updateI18N()
           
 void updateStatusText()
          Update status text according to current midi job title
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusLine

public StatusLine(org.eclipse.swt.widgets.Display display,
                  org.eclipse.swt.widgets.Shell shell,
                  MainView geebossGui)
Instantiate a new StatusLine

Parameters:
display - The display
shell - The Shell
geebossGui - The Main controller
Method Detail

addEntireLoad

public void addEntireLoad(int loadcount)
Add a number to the entireLoad value.

Parameters:
loadcount - The number of jobs that will start.

finishJob

public void finishJob(MidiJob midiJob)
The given Job has finished normally and was not interrupted by the user. This method is running synchronized, because it is called from more than one Thread but should run atomar.

Parameters:
midiJob - The job that has finished

insertJob

public void insertJob(MidiJob midiJob)
This tells the status line that a new Job has been started. The status line will display it. This method is running synchronized, because it is called from more than one Thread but should run atomar.

Parameters:
midiJob - The job that has been started

isBusy

public boolean isBusy()
Check if Geeboss is currently busy with midi.

Returns:
boolean true if Geeboss is busy

updateFonts

public void updateFonts()

updateI18N

public void updateI18N()
See Also:
Translatable.updateI18N()

updateStatusText

public void updateStatusText()
Update status text according to current midi job title



Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.