org.jogre.client.awt
Interface IJogreClientGUI

All Known Implementing Classes:
JogreClientApplet, JogreClientFrame

public interface IJogreClientGUI

Inteface between JOGRE application / applet and client panel.

Version:
Alpha 0.2.3
Author:
starsinthesky

Method Summary
 void connectOK(ClientConnectionThread conn)
          This method will be called when a client has connected sucessfully.
 ChatPrivateDialog getChatPrivateDialog(String usernameTo, ClientConnectionThread conn)
          Return a private chat dialog.
 JogreTableFrame getJogreTableFrame(TableConnectionThread conn)
          Return the JOGRE table frame.
 void getPropertyDialog(ClientConnectionThread conn)
          Return a property dialog.
 void getRulesDialog()
          Return the rules dialog.
 void getUserDialog(User user)
          Return a user information dialog.
 void setUITitle(String title)
          Sets the user interfaces title.
 

Method Detail

connectOK

public void connectOK(ClientConnectionThread conn)
This method will be called when a client has connected sucessfully.

Parameters:
conn - Passes the successful connection.

getJogreTableFrame

public JogreTableFrame getJogreTableFrame(TableConnectionThread conn)
Return the JOGRE table frame.

Parameters:
conn - Table connection to server.
Returns:
Returns a table frame.

setUITitle

public void setUITitle(String title)
Sets the user interfaces title.

Parameters:
title - Title to set.

getChatPrivateDialog

public ChatPrivateDialog getChatPrivateDialog(String usernameTo,
                                              ClientConnectionThread conn)
Return a private chat dialog.

Parameters:
usernameTo - Username to talk to.
conn - Connection to the server.
Returns:
Private chat dialog.

getPropertyDialog

public void getPropertyDialog(ClientConnectionThread conn)
Return a property dialog.

Parameters:
conn - Connection to server.

getUserDialog

public void getUserDialog(User user)
Return a user information dialog.


getRulesDialog

public void getRulesDialog()
Return the rules dialog.