Class RobotlFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----RobotlFrame
- public class RobotlFrame
- extends Frame
All windows in the applet are instances or RobotlFrame
or a descendent. When the user hits the close box of a
RobotlFrame, the window closes and its resources are
released.
- Author:
- Peter Sagerson, petersag@wpi.edu
-
supervisor
- The object that created this window.
-
RobotlFrame(String, ElJefe)
-
-
action(Event, Object)
- Passes actions to
supervisor.
-
cleanup()
- Informs
supervisor that we're closing, cleans up the
window's resources and closes it.
-
handleEvent(Event)
- Catches
Event.WINDOW_DESTROY and calls cleanup().
supervisor
private ElJefe supervisor
- The object that created this window.
RobotlFrame
public RobotlFrame(String title,
ElJefe inSuperv)
action
public boolean action(Event evt,
Object what)
- Passes actions to
supervisor.
- Overrides:
- action in class Component
handleEvent
public boolean handleEvent(Event evt)
- Catches
Event.WINDOW_DESTROY and calls cleanup().
- Overrides:
- handleEvent in class Component
cleanup
public void cleanup()
- Informs
supervisor that we're closing, cleans up the
window's resources and closes it.