Package calculator
Interface Keypad
- All Known Implementing Classes:
CalculatorView
interface Keypad
This Interface will design the keypad for the calculator.
- Since:
- 24 Aug 2023
- Version:
- 1.0.0
- Author:
- Shamith Nakka
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis function returns a java.awt.Panel object that contains all the buttons required.
-
Field Details
-
DEFAULT_BUTTON_LABELS
Default values of the keypad.
-
-
Method Details
-
createKeypad
Panel createKeypad()This function returns a java.awt.Panel object that contains all the buttons required.- Returns:
- keypad[java.awt.Panel] : Panel object.
-