Class polarDust.calculator.CalculatorPanel03
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class polarDust.calculator.CalculatorPanel03

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----polarDust.calculator.CalculatorPanel
                                   |
                                   +----polarDust.calculator.CalculatorPanel03

public class CalculatorPanel03
extends CalculatorPanel
implements CalcConstants
CalculatorPanel03 is the panel wrapper for a simple calculator. It embeds all the necesary components to give a total functionality to the calculator.

The source code.
Version:
0.9, 1996.06.04
Author:
Sorin Lazareanu

Constructor Index

 o CalculatorPanel03()
Constructs a new panel.
 o CalculatorPanel03(CalculatorApplet)
Constructs a new panel.

Method Index

 o configure()
Prepares the layout of the panel
 o keyDown(Event, int)
Sends key events to the keypad panel.
 o keyUp(Event, int)
Sends key events to the keypad panel.
 o stop()
Stops the threads in the logo and display panels.

Constructors

 o CalculatorPanel03
  public CalculatorPanel03()
Constructs a new panel.
 o CalculatorPanel03
  public CalculatorPanel03(CalculatorApplet parentApplet)
Constructs a new panel.
Parameters:
parentApplet - the original call is from an CalculatorApplet. This information is used to send back sound related messages.
See Also:
CalculatorApplet

Methods

 o configure
  public void configure()
Prepares the layout of the panel
Overrides:
configure in class CalculatorPanel
 o keyDown
  public boolean keyDown(Event evt,
                         int iKey)
Sends key events to the keypad panel.
Overrides:
keyDown in class Component
 o keyUp
  public boolean keyUp(Event evt,
                       int iKey)
Sends key events to the keypad panel.
Overrides:
keyUp in class Component
 o stop
  public void stop()
Stops the threads in the logo and display panels.
Overrides:
stop in class CalculatorPanel

All Packages  Class Hierarchy  This Package  Previous  Next  Index