

Public Member Functions | |
| ModeButton (CalculatorApplet applet) | |
| Constructor. | |
| void | actionPerformed (java.awt.event.ActionEvent actionEvent) |
| Probably the strangest button: it only changes the state of CalculatorApplet and so it simply passes the fact a button was pressed straight to the CalculatorApplet object. | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| jscicalc.button.ModeButton.ModeButton | ( | CalculatorApplet | applet | ) |
Constructor.
Sets PObject to Mode.
| applet | The controller object. |
References jscicalc.button.CalculatorButton.setText(), jscicalc.button.CalculatorButton.setTextSize(), jscicalc.button.CalculatorButton.setToolTipText(), jscicalc.button.CalculatorButton.shortcut(), and jscicalc.button.CalculatorButton.tooltip().
| void jscicalc.button.ModeButton.actionPerformed | ( | java.awt.event.ActionEvent | actionEvent | ) |
Probably the strangest button: it only changes the state of CalculatorApplet and so it simply passes the fact a button was pressed straight to the CalculatorApplet object.
| actionEvent | The event that generated this method call: usually a button press or called when CalculatorApplet responded to the key associated with this button |
Reimplemented from jscicalc.button.CalculatorButton.
References jscicalc.button.CalculatorButton.applet, jscicalc.button.CalculatorButton.getApplet(), jscicalc.CalculatorApplet.getOn(), jscicalc.CalculatorApplet.setMode(), jscicalc.CalculatorApplet.setShift(), and jscicalc.CalculatorApplet.updateDisplay().
final long jscicalc.button.ModeButton.serialVersionUID = 1L [static, private] |
Reimplemented from jscicalc.button.CalculatorButton.
1.5.5