Class tinkerToy.MyFrame
All Packages Class Hierarchy This Package Previous Next Index
source
Class tinkerToy.MyFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----tinkerToy.MyFrame
- public class MyFrame
- extends Frame
Base frame class which controls the creation and destruction of frames.
-
MyFrame(String, MyBoolean)
- Create a frame with the specified name, and update the MyBoolean
flag to indicate the frame is now alive.
-
MyFrame(String, MyBoolean, Applet)
- Create a frame which maintains a knowledge of the URL context of
the original applet in order to display html pages in the browser.
-
MyFrame(String, Applet)
- Construct a frame which does not have to track if it is already
instantiated.
-
action(Event, Object)
- Catch the exit event.
-
handleEvent(Event)
- Catch the window destroy event.
-
showDocument(String)
- Show the specified document in the browser.
-
start()
- Display the frame.
MyFrame
public MyFrame(String name,
MyBoolean b)
- Create a frame with the specified name, and update the MyBoolean
flag to indicate the frame is now alive.
MyFrame
public MyFrame(String name,
MyBoolean b,
Applet a)
- Create a frame which maintains a knowledge of the URL context of
the original applet in order to display html pages in the browser.
MyFrame
public MyFrame(String name,
Applet a)
- Construct a frame which does not have to track if it is already
instantiated.
action
public boolean action(Event e,
Object o)
- Catch the exit event.
- Overrides:
- action in class Component
handleEvent
public boolean handleEvent(Event e)
- Catch the window destroy event.
- Overrides:
- handleEvent in class Component
showDocument
public void showDocument(String doc)
- Show the specified document in the browser.
start
public void start()
- Display the frame.
All Packages Class Hierarchy This Package Previous Next Index