

Public Member Functions | |
| LeftButton (CalculatorApplet applet) | |
| Constructor. | |
| void | actionPerformed (java.awt.event.ActionEvent actionEvent) |
| Moves the caret position to the left (unless it’s already at zero) and updates DisplayLabel. | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| jscicalc.button.LeftButton.LeftButton | ( | CalculatorApplet | applet | ) |
Constructor.
Sets PObject to Left.
| applet | The controller object. |
References jscicalc.CalculatorApplet.minSize(), jscicalc.button.CalculatorButton.pobject, jscicalc.button.CalculatorButton.setToolTipText(), jscicalc.pobject.PObject.tooltip(), and jscicalc.button.CalculatorButton.tooltip().
| void jscicalc.button.LeftButton.actionPerformed | ( | java.awt.event.ActionEvent | actionEvent | ) |
Moves the caret position to the left (unless it’s already at zero) and updates DisplayLabel.
| 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.getApplet(), jscicalc.CalculatorApplet.left(), and jscicalc.CalculatorApplet.updateDisplay().
final long jscicalc.button.LeftButton.serialVersionUID = 1L [static, private] |
Reimplemented from jscicalc.button.CalculatorButton.
1.5.5