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.


Variable Index

 o text

Constructor Index

 o EntryPanel(Component, String, String, boolean)

Method Index

 o 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.

Variables

 o text
  public String text

Constructors

 o EntryPanel
  public EntryPanel(Component parent,
                    String title,
                    String caption,
                    boolean modal)

Methods

 o 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