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

    Fields
    Modifier and Type
    Field
    Description
    static final String[]
    Default values of the keypad.
  • Method Summary

    Modifier and Type
    Method
    Description
    This function returns a java.awt.Panel object that contains all the buttons required.
  • Field Details

    • DEFAULT_BUTTON_LABELS

      static final String[] 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.