Class edu.cornell.lassp.mck10.HysteresisApplet.SizeDialog
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.cornell.lassp.mck10.HysteresisApplet.SizeDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----edu.cornell.lassp.mck10.HysteresisApplet.SizeDialog

public class SizeDialog
extends Frame
SizeDialog is used to display a dialog box asking the user whether they really want to change the simulation to a certain size. It is used by the CheckLatticeSize class to verify that the user wants to make a change, when the resulting size would be very large.

Source Code is available.

Version:
1.0
Author:
mck10@cornell.edu)

Constructor Index

 o SizeDialog(int, int, int)

Method Index

 o action(Event, Object)
Called if an action occurs in the Component.
 o askUser()

Constructors

 o SizeDialog
  public SizeDialog(int dimensions,
                    int width,
                    int size)

Methods

 o askUser
  public boolean askUser()
 o action
  public boolean action(Event e,
                        Object obj)
Called if an action occurs in the Component.
Overrides:
action in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index