jscicalc.button.RCLButton Class Reference

This button creates a Container with the value currently stored in the calculator memory and adds it to the current expression at the carat poition. More...

Inheritance diagram for jscicalc.button.RCLButton:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RCLButton (CalculatorApplet applet)
 Constructor.
void actionPerformed (java.awt.event.ActionEvent actionEvent)
 Gets memory value from CalculatorApplet and asks CalculatorApplet to place this value in a RCL Container in the current expression.

Static Private Attributes

static final long serialVersionUID = 1L


Detailed Description

This button creates a Container with the value currently stored in the calculator memory and adds it to the current expression at the carat poition.

Author:
J. D. Lamb
Version:
Revision
1.4

Constructor & Destructor Documentation

jscicalc.button.RCLButton.RCLButton ( CalculatorApplet  applet  ) 


Member Function Documentation

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

Gets memory value from CalculatorApplet and asks CalculatorApplet to place this value in a RCL Container in the current expression.

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


Member Data Documentation

final long jscicalc.button.RCLButton.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:55 2008 for Java Scientific Calculator by  doxygen 1.5.5