net.sf.borg.ui
Class UIControl

java.lang.Object
  extended by net.sf.borg.ui.UIControl

public class UIControl
extends Object

Class UIControl provides access to the UI from non-UI classes. UIControl provides the main UI entry point.


Constructor Summary
UIControl()
           
 
Method Summary
static void setShutdownListener(Observer shutdownListener)
          set a shutdown listener to be called back when the UI shuts down
static void shutDownUI()
          shuts down the UI, including db backup
static void startUI(String trayname)
          Main UI initialization.
static void toFront()
          raise the UI to the front
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIControl

public UIControl()
Method Detail

setShutdownListener

public static void setShutdownListener(Observer shutdownListener)
set a shutdown listener to be called back when the UI shuts down

Parameters:
shutdownListener -

startUI

public static void startUI(String trayname)
Main UI initialization.

Parameters:
trayname - - name for the tray icon

toFront

public static void toFront()
raise the UI to the front


shutDownUI

public static void shutDownUI()
shuts down the UI, including db backup



Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae