

Public Member Functions | |
| PlainPanel (CalculatorApplet applet, SpecialButtonType sbt, java.awt.Color colour) | |
| Constructor. | |
Protected Member Functions | |
| void | setButtons () |
| Defines all the standard buttons for this panel. | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
It contains standard numeral buttons, simple scientific functions, memory and arithmetic functions.
| jscicalc.PlainPanel.PlainPanel | ( | CalculatorApplet | applet, | |
| SpecialButtonType | sbt, | |||
| java.awt.Color | colour | |||
| ) |
Constructor.
See CalculatorPanel.createCalculatorPanel() to see what this does.
| applet | The CalculatorApplet object needed for the buttons and DisplayPanel | |
| sbt | Used to identify what to construct | |
| colour | What colour should the panel background be? |
References jscicalc.CalculatorPanel.colour.
| void jscicalc.PlainPanel.setButtons | ( | ) | [protected, virtual] |
Defines all the standard buttons for this panel.
This is where you add new functions or change which button is associated with each function.
Implements jscicalc.CalculatorPanel.
Reimplemented in jscicalc.StatPanel.
References jscicalc.CalculatorPanel.buttons(), and jscicalc.CalculatorPanel.createKeyMap().
final long jscicalc.PlainPanel.serialVersionUID = 1L [static, private] |
Reimplemented in jscicalc.StatPanel.
1.5.5