All Packages Class Hierarchy This Package Previous Next Index
Class graphing.EntryPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----graphing.EntryPanel
- public class EntryPanel
- extends Frame
A pop-up panel which collects a single line of text and records it in EntryPanel.text.
-
text
-
-
EntryPanel(Component, String, String, boolean)
-
-
action(Event, Object)
- When the user hits "return" or "OK" the panel closes up and passes an ACTION_EVENT to the parent Frame
which identifies this EntryPanel as the target.
text
public String text
EntryPanel
public EntryPanel(Component parent,
String title,
String caption,
boolean modal)
action
public boolean action(Event e,
Object a)
- When the user hits "return" or "OK" the panel closes up and passes an ACTION_EVENT to the parent Frame
which identifies this EntryPanel as the target. The parent can read EntryPanel.text
to get the text that was entered.
- Overrides:
- action in class Component
All Packages Class Hierarchy This Package Previous Next Index