|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.scheisseichfindemalkeinen.gui.GuiEvent
public class GuiEvent
Class which contains Listeners for GUI-Events
| Method Summary | |
|---|---|
void |
addListener(IGuiEventListener l)
Add Listener |
void |
exitApp(boolean restart)
Exit program |
void |
exitAppForce(java.lang.String message,
java.lang.String title,
java.awt.Component owner,
boolean restart)
Exit programm after update |
void |
hideWindow()
Hide Main-Window |
static GuiEvent |
instance()
Returns the instance |
void |
keywordsChanged()
KeywordsChanged |
void |
removeListener(IGuiEventListener l)
Remove Listener |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GuiEvent instance()
public void showWindow(java.lang.Class cl)
cl - Class of window to showpublic void hideWindow()
public void exitApp(boolean restart)
restart - Restart
public void exitAppForce(java.lang.String message,
java.lang.String title,
java.awt.Component owner,
boolean restart)
message - Messagetitle - Titleowner - Ownerrestart - Restartpublic void keywordsChanged()
public void splashTextChanged(java.lang.String text)
text - Text
public void splashProgressBarChanged(int min,
int max,
int val)
min - Minimummax - Maximumval - Valuepublic void splashProgressBarTextChanged(java.lang.String text)
text - Textpublic void splashProgressBarVisibilityChanged(boolean visible)
visible - Visiblepublic void updateWindowOpened()
public void updateWindowClosed(boolean updateRunned,
boolean updateSuccessfull)
updateRunned - Update runnedupdateSuccessfull - Update successfullpublic void addListener(IGuiEventListener l)
l - Listenerpublic void removeListener(IGuiEventListener l)
l - Listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||