Class polarDust.calculator.KeypadPanel02
All Packages Class Hierarchy This Package Previous Next Index
Class polarDust.calculator.KeypadPanel02
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----polarDust.calculator.KeypadPanel02
- public class KeypadPanel02
- extends Panel
- implements CalcConstants
KeypadPanel02 is a button container for a calculator with
more operations.
The source code.
- Version:
- 0.9, 1996.06.04
- Author:
- Sorin Lazareanu
-
KeypadPanel02(CalcCPU)
- Constructs a new panel.
-
KeypadPanel02(CalcCPU, CalculatorApplet)
- Constructs a new panel.
-
action(Event, Object)
- Responds to button clicks.
-
configure()
- Prepares the layout of the panel
-
dispatchKeyDown(Event, int)
- Dispatches unintercepted key down events to the components.
-
dispatchKeyUp(Event, int)
- Dispatches unintercepted key up events to the components.
-
keyDown(Event, int)
- Responds to key down events.
-
paint(Graphics)
- Paints on a Graphics object.
KeypadPanel02
public KeypadPanel02(CalcCPU aCPU,
CalculatorApplet parentApplet)
- Constructs a new panel. The original call is from an CalculatorApplet.
This information is used to send back sound related messages.
- Parameters:
- parentApplet - the applet which constains sound methods.
- See Also:
- CalculatorApplet
KeypadPanel02
public KeypadPanel02(CalcCPU aCPU)
- Constructs a new panel.
- Parameters:
- aCPU - the class wich do the processing
- See Also:
- CalcCPU
configure
public void configure()
- Prepares the layout of the panel
action
public boolean action(Event evt,
Object arg)
- Responds to button clicks.
- Overrides:
- action in class Component
- See Also:
- Event, Object
dispatchKeyDown
public boolean dispatchKeyDown(Event evt,
int iKey)
- Dispatches unintercepted key down events to the components.
dispatchKeyUp
public boolean dispatchKeyUp(Event evt,
int iKey)
- Dispatches unintercepted key up events to the components.
keyDown
public boolean keyDown(Event evt,
int iKey)
- Responds to key down events.
- Overrides:
- keyDown in class Component
paint
public void paint(Graphics aGraphics)
- Paints on a Graphics object.
- Overrides:
- paint in class Component
- See Also:
- Graphics
All Packages Class Hierarchy This Package Previous Next Index