Class games.Battle.client.ClientApplet.ClientFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class games.Battle.client.ClientApplet.ClientFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----games.Battle.client.ClientApplet.ClientFrame

public class ClientFrame
extends Frame
The ClientFrame is a Frame which recognizes WINDOW_DESTROY events and processes them in a way friendly to an executing ClientApplet.

Constructor Index

 o ClientFrame(String, ClientApplet)
Construct a ClientFrame with the given title and containing the given applet.

Method Index

 o handleEvent(Event)
Process events from the frame.

Constructors

 o ClientFrame
  public ClientFrame(String title,
                     ClientApplet applet)
Construct a ClientFrame with the given title and containing the given applet. If the frame is Closed, the applet is destroyed.
Parameters:
title - the title for the frame
applet - the ClientApplet to destroy on a CLOSE_WINDOW event
See Also:
ClientApplet

Methods

 o handleEvent
  public boolean handleEvent(Event e)
Process events from the frame.
Parameters:
e - an event
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index