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.

Constructor Index

 o LoginWindow(EuropaClient)
Construct a LoginWindow as a child of the given client applet.
 o LoginWindow(EuropaClient, PlayerInfo)
Construct a LoginWindow with the given PlayerInfo.

Method Index

 o handleEvent(Event)
Process events in the dialog box.
 o layout()
Overload the layout method to pack() as well.

Constructors

 o 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
 o 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

Methods

 o handleEvent
  public boolean handleEvent(Event e)
Process events in the dialog box.
Overrides:
handleEvent in class Component
 o 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