Class polarDust.calculator.CalculatorPanel02
All Packages Class Hierarchy This Package Previous Next Index
Class polarDust.calculator.CalculatorPanel02
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----polarDust.calculator.CalculatorPanel
|
+----polarDust.calculator.CalculatorPanel02
- public class CalculatorPanel02
- extends CalculatorPanel
- implements CalcConstants
CalculatorPanel02 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
-
CalculatorPanel02()
- Constructs a new panel.
-
CalculatorPanel02(CalculatorApplet)
- Constructs a new panel.
-
configure()
- Prepares the layout of the panel
-
keyDown(Event, int)
- Sends key events to the keypad panel.
-
keyUp(Event, int)
- Sends key events to the keypad panel.
-
stop()
- Stops the threads in the logo and display panels.
-
toString()
-
CalculatorPanel02
public CalculatorPanel02()
- Constructs a new panel.
CalculatorPanel02
public CalculatorPanel02(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
configure
public void configure()
- Prepares the layout of the panel
- Overrides:
- configure in class CalculatorPanel
keyDown
public boolean keyDown(Event evt,
int iKey)
- Sends key events to the keypad panel.
- Overrides:
- keyDown in class Component
keyUp
public boolean keyUp(Event evt,
int iKey)
- Sends key events to the keypad panel.
- Overrides:
- keyUp in class Component
stop
public void stop()
- Stops the threads in the logo and display panels.
- Overrides:
- stop in class CalculatorPanel
toString
public String toString()
- Overrides:
- toString in class CalculatorPanel
All Packages Class Hierarchy This Package Previous Next Index