jscicalc.button.DelButton Class Reference

Delete button. More...

Inheritance diagram for jscicalc.button.DelButton:

jscicalc.button.CalculatorButton
Collaboration diagram for jscicalc.button.DelButton:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DelButton (CalculatorApplet applet)
 Constructor.
void actionPerformed (java.awt.event.ActionEvent actionEvent)
 If the caret position is nonzero, deletes the PObject to the left of the caret position in DisplayLabel.

Static Private Attributes

static final long serialVersionUID = 1L


Detailed Description

Delete button.

Author:
J. D. Lamb
Version:
Revision
1.5

Constructor & Destructor Documentation

jscicalc.button.DelButton.DelButton ( CalculatorApplet  applet  ) 


Member Function Documentation

void jscicalc.button.DelButton.actionPerformed ( java.awt.event.ActionEvent  actionEvent  ) 

If the caret position is nonzero, deletes the PObject to the left of the caret position in DisplayLabel.

Parameters:
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.CalculatorApplet.delete(), jscicalc.button.CalculatorButton.getApplet(), jscicalc.CalculatorApplet.getMode(), jscicalc.button.CalculatorButton.pobject, jscicalc.CalculatorApplet.setMode(), and jscicalc.CalculatorApplet.updateDisplay().


Member Data Documentation

final long jscicalc.button.DelButton.serialVersionUID = 1L [static, private]

Reimplemented from jscicalc.button.CalculatorButton.


The documentation for this class was generated from the following file:

Generated on Sun Jun 1 08:57:49 2008 for Java Scientific Calculator by  doxygen 1.5.5