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.
-
ClientFrame(String, ClientApplet)
- Construct a ClientFrame with the given title and containing
the given applet.
-
handleEvent(Event)
- Process events from the frame.
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
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