musutelsa.gui
Class Gui

java.lang.Object
  extended by musutelsa.gui.Gui
All Implemented Interfaces:
Observer

public class Gui
extends Object
implements Observer

Halvni trida prezentacni vrstvy.

Author:
Martin Kristan 2006, (mail: martin@kristan.eu; personal web: www.kristan.eu; Musutelsa project web: www.musutelsa.jamstudio.eu)

Field Summary
static int ONE_SECOND
           
 
Constructor Summary
Gui(Musutelsa musutelsa)
           
 
Method Summary
 void exit()
          Vypise dialog.
 JFrame getGui()
           
 InfoPanel getInfoPanel()
           
 void showAbout()
          Vypise strucne info.
 void showAlertMessage(Alert alert)
          Vypise chybovou hlasku.
 void showHelp()
           
 void showToolBar()
           
 void update(Observable o, Object arg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONE_SECOND

public static final int ONE_SECOND
See Also:
Constant Field Values
Constructor Detail

Gui

public Gui(Musutelsa musutelsa)
Method Detail

showToolBar

public void showToolBar()

update

public void update(Observable o,
                   Object arg)
Specified by:
update in interface Observer

getInfoPanel

public InfoPanel getInfoPanel()

getGui

public JFrame getGui()

exit

public void exit()
Vypise dialog. Pri kladne odpovedi ukonci program.


showAbout

public void showAbout()
Vypise strucne info.


showHelp

public void showHelp()

showAlertMessage

public void showAlertMessage(Alert alert)
Vypise chybovou hlasku.

Parameters:
message - Hlaska.