Class infixView.InfixGUI


public class InfixGUI
extends AFrame
This is the GUI for the infix calculator model For a graphical calculator use this as the main.


Variable Index

 o _calc
 o _display
// the "model"

Constructor Index

 o InfixGUI ()
Default constructor, uses title of "Cheap Calculator"

Method Index

 o initialize ()
Initializes the GUI
 o main (String[])
Main function to start of the program

Variables

 o _calc
private InfixCalc _calc
 o _display
private JTextField _display
// the "model"

Constructors

 o InfixGUI
public  InfixGUI()
Default constructor, uses title of "Cheap Calculator"

Methods

 o initialize
protected void initialize()
Initializes the GUI

 o main
public static void main(String[] args)
Main function to start of the program. No input arguments required. Simply instantiates the GUI.