de.scheisseichfindemalkeinen.gui
Interface IGuiEventListener

All Known Implementing Classes:
BH, Main

public interface IGuiEventListener

Interface for the GUI


Method Summary
 void exitApp(boolean restart)
          Exit program
 void hideWindow()
          Hide Main-Window
 void keywordsChanged()
          KeywordsChanged
 void showWindow(java.lang.Class cl)
          Show Window
 void splashProgressBarChanged(int min, int max, int val)
          Progressbar changed
 void splashProgressBarTextChanged(java.lang.String text)
          Progressbar text changed
 void splashProgressBarVisibilityChanged(boolean visible)
          Progressbar visibility changed
 void splashTextChanged(java.lang.String text)
          Splashscreen text changed
 void updateWindowClosed(boolean updateRunned, boolean updateSuccessfull)
          Update-Window was closed If an update was downloaded and installed updateRunned is true otherwise false.
 void updateWindowOpened()
          Update-Window was opened and will be open until updateWindowClosed-Method is called
 

Method Detail

showWindow

void showWindow(java.lang.Class cl)
Show Window

Parameters:
cl - Class of window to show

hideWindow

void hideWindow()
Hide Main-Window


exitApp

void exitApp(boolean restart)
Exit program

Parameters:
restart - Restart

keywordsChanged

void keywordsChanged()
KeywordsChanged


splashTextChanged

void splashTextChanged(java.lang.String text)
Splashscreen text changed

Parameters:
text - Text

splashProgressBarChanged

void splashProgressBarChanged(int min,
                              int max,
                              int val)
Progressbar changed

Parameters:
min - Minimum
max - Maximum
val - Value

splashProgressBarTextChanged

void splashProgressBarTextChanged(java.lang.String text)
Progressbar text changed

Parameters:
text - Text

splashProgressBarVisibilityChanged

void splashProgressBarVisibilityChanged(boolean visible)
Progressbar visibility changed

Parameters:
visible - Visible

updateWindowOpened

void updateWindowOpened()
Update-Window was opened and will be open until updateWindowClosed-Method is called


updateWindowClosed

void updateWindowClosed(boolean updateRunned,
                        boolean updateSuccessfull)
Update-Window was closed If an update was downloaded and installed updateRunned is true otherwise false. updateSuccessfull is true if the update was successfull otherwise it will be false.

Parameters:
updateRunned - Update runned
updateSuccessfull - Update successfull