Class games.Battle.client.EuropaClient.LoginWindow
All Packages Class Hierarchy This Package Previous Next Index
Class games.Battle.client.EuropaClient.LoginWindow
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----games.Battle.client.EuropaClient.LoginWindow
- public class LoginWindow
- extends Frame
This dialog window is responsible for collecting login/creation
information about a player.
-
LoginWindow(EuropaClient)
- Construct a LoginWindow as a child of the given client applet.
-
LoginWindow(EuropaClient, PlayerInfo)
- Construct a LoginWindow with the given PlayerInfo.
-
handleEvent(Event)
- Process events in the dialog box.
-
layout()
- Overload the layout method to pack() as well.
LoginWindow
public LoginWindow(EuropaClient client)
- Construct a LoginWindow as a child of the given client applet.
This constructor is used when first logging into the game.
- Parameters:
- client - the EuropaClient parent window
LoginWindow
public LoginWindow(EuropaClient client,
PlayerInfo info)
- Construct a LoginWindow with the given PlayerInfo. This
version of the constructor is used to allow players
to modify their login information.
- Parameters:
- client - the EuropaClient parent applet
- info - the player info to initialize the dialog with
handleEvent
public boolean handleEvent(Event e)
- Process events in the dialog box.
- Overrides:
- handleEvent in class Component
layout
public synchronized void layout()
- Overload the layout method to pack() as well.
- Overrides:
- layout in class Container
All Packages Class Hierarchy This Package Previous Next Index