|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVoogaGUI
This interface has the methods that must be implemented by the Arcade/GUI in order to have the code appropriately linked.
Method Summary | |
---|---|
void |
addArcadeEventListener(IArcadeEventListener listener)
This method is used to add a listener to all of the arcade's events. |
int |
createNewFrame(java.lang.String frameTitle)
This method will open a new window with the given title and place the component in the center panel with the given tab title. |
void |
fireArcadeEvent(ArcadeEvent e)
Allows others to fire an arcade event. |
IArcadeFrame |
getFrame(int ID)
Get the ArcadeFrame given its ID. |
void |
hideArcade()
This method is called to log a user out. |
void |
removeFrame(int ID)
This method removes the frame with the given title. |
void |
showArcade(VoogaUser user)
This method is called after a user is verified. |
void |
showErrorMessage(java.lang.String message)
This method will show the error message in a popup box to the user. |
java.lang.String |
showInputDialog(java.lang.String message)
This method will show a popup box where you can propt a user for input. |
void |
showMessage(java.lang.String message)
This method will show the message in a popup box to the user. |
Method Detail |
---|
void addArcadeEventListener(IArcadeEventListener listener)
listener
- is a listener which extends the IArcadeListener interfacevoid showArcade(VoogaUser user)
void hideArcade()
int createNewFrame(java.lang.String frameTitle)
IArcadeFrame getFrame(int ID)
void removeFrame(int ID)
void showMessage(java.lang.String message)
message
- void showErrorMessage(java.lang.String message)
message
- java.lang.String showInputDialog(java.lang.String message)
message
-
void fireArcadeEvent(ArcadeEvent e)
e
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |